Commit graph

361 commits

Author SHA1 Message Date
Samuel Clay
eff1e9b69b Turning off mongo replset lag 2021-09-21 17:39:23 -04:00
Jonathan Math
dcf7364f6b all metrics flasks use 5569 in ansible. update prometheus 2021-09-21 12:12:53 -05:00
Jonathan Math
1fa0dfb32b bring dashboard up to date 2021-09-21 12:10:55 -05:00
Jonathan Math
a3ae90168d add flask_metrics_redis to ansible and update prometheus.consul.yml.j2 2021-09-21 09:52:09 -05:00
Jonathan Math
53c4e7e462 add redis flask metrics to prometheus docker 2021-09-21 09:51:41 -05:00
Jonathan Math
3f84cdaf9c pull in latest dashboards json 2021-09-16 12:09:48 -05:00
Jonathan Math
c6ce91360d rm unnecessary dockerfile for flask_metrics. we will use the dockerfile from the monitor instead 2021-09-15 11:10:54 -05:00
Jonathan Math
d8fe3d01a4 update prometheus.yml files for flask metrics mongo 2021-09-15 11:10:31 -05:00
Jonathan Math
a001bc5a64 add flask_metrics to prometheus 2021-09-14 09:53:01 -05:00
Jonathan Math
edf411eed3 add new dashboards that use flask_metrics endpoints 2021-09-07 15:11:08 -05:00
Jonathan Math
2bea6f112e add flask_metrics to docker-compose and create endpoints in flask 2021-09-07 15:09:45 -05:00
Jonathan Math
f684784186 add mongo monitor endpoints to prometheum yaml files. Comment out the ones that are a work in progress 2021-09-05 22:41:04 -05:00
Jonathan Math
7b5f2fb710 bring dashboards up to date and add mongo dashboard 2021-09-05 22:39:28 -05:00
Jonathan Math
2b4bd99da0 bring dashboard file up to date 2021-09-05 22:36:43 -05:00
Jonathan Math
e91120413f add mongo monitor endpoints to prometheus.docker.yml 2021-08-10 10:05:50 -05:00
Samuel Clay
4a81611b01 Mongo analytics is its own server, with authentication. 2021-08-03 19:43:27 -04:00
Samuel Clay
607da1a524 Executable backups for mongo 2021-07-30 16:07:35 -04:00
Samuel Clay
cf145e9517 Cleaner datetime for mongo backups 2021-07-29 18:40:05 -04:00
Samuel Clay
535497a1b0 Backing up mongo on db-mongo-secondary1 2021-07-29 18:21:00 -04:00
Samuel Clay
5aaf4d5c38 Rewriting mongo backup, adding in rotation. 2021-07-29 18:17:02 -04:00
Samuel Clay
ad9b805d0a Updating backup to use boto3 2021-07-23 19:04:30 -04:00
Samuel Clay
37451fbafd Mongo backup exec line. 2021-07-23 19:01:06 -04:00
Samuel Clay
28f2284668 Skip backing up shared stories for now. 2021-07-23 18:40:53 -04:00
Samuel Clay
1ac16508f8 Changing how mongo is registered on consul. Now allows members before they are part of the replica set. 2021-07-21 21:10:02 -04:00
Samuel Clay
9e68bd2c7b Hold off on starred stories 2021-07-16 12:58:56 -04:00
Samuel Clay
286809ace7 Backup permissions 2021-07-16 12:50:13 -04:00
Samuel Clay
810ff86c63 Bash array syntax 2021-07-16 12:40:50 -04:00
Samuel Clay
4f37953df4 Mongo backups should use a dual-docker solution: 1) Use docker to backup mongo from the mongo container, 2) use newsblur_web container to upload to S3. 2021-07-16 12:25:25 -04:00
Samuel Clay
1b2fc53f37 Adding imageproxy2 before switching image proxies. 2021-07-12 11:46:22 -04:00
Samuel Clay
e11d4db4ea Fixing prometheus to use consul internal dns. 2021-07-10 16:11:04 -04:00
Samuel Clay
923d2a7894 Backing up updated grafana dashboard. 2021-07-02 13:03:08 -04:00
Samuel Clay
4c5a5907c5 Adding redirects for dashboard refreshes. Also attempting to cache global river for dashboard. 2021-07-02 09:15:22 -04:00
Samuel Clay
9ad1fb4739 Use refresh servers if auto-loading dashboard. 2021-07-02 08:43:16 -04:00
Samuel Clay
159251f3c0 Switch to blog.newsblur.com. 2021-06-28 18:50:30 -04:00
Samuel Clay
569df99676 Updating blog post, pushing public on blog.newsblur.com. 2021-06-28 18:29:57 -04:00
Samuel Clay
e23cf14b29 Docker nginx should force reload of every script/css file to ease debugging. 2021-06-28 16:19:48 -04:00
Samuel Clay
c548bf6c36 Redirecting old Tumblr /rss url to Jekyll's /feed.xml url 2021-06-28 13:37:55 -04:00
Jonathan Math
91930c1476 Merge branch 'dashboard3' of https://github.com/samuelclay/NewsBlur into dashboard3 2021-06-25 09:14:38 -06:00
Jonathan Math
0cc444294f fix prometheus.consul.yml.j2 2021-06-25 09:14:21 -06:00
Samuel Clay
7d8ba31ee1 Adding blog role and server. 2021-06-22 12:50:08 -04:00
Jonathan Math
76d9751af5 fix haproxy config 2021-06-15 09:44:37 -06:00
Jonathan Math
0b159b19cd add consul manager service 2021-06-15 09:43:44 -06:00
Jonathan Math
1be51700ed grafana service not node in haproxy 2021-06-15 09:36:04 -06:00
Jonathan Math
67b0707eb7 dont register consul services for staging. change datasource for ansible grafana 2021-06-15 09:23:14 -06:00
Samuel Clay
cc7251610a Disable consul services needs +ie staging. 2021-06-15 11:12:09 -04:00
Jonathan Math
b9ed7dc7ed fix haproxy file 2021-06-15 08:50:17 -06:00
Jonathan Math
c77d49178b consul and db_metrics backend to haproxy.consul.cfg.j2 2021-06-14 20:32:19 -06:00
Samuel Clay
ae44caf6bd Moving around dashboard panels 2021-05-26 16:38:22 -04:00
Jonathan Math
3c5f26a26a add exporters for dbs 2021-05-26 12:16:33 -04:00
Jonathan Math
f74302b732 rm consul.datasource.yaml because it is no longer used 2021-05-26 12:15:18 -04:00