Commit graph

358 commits

Author SHA1 Message Date
Jonathan Math
3c27686aad fix merge conflicts 2022-01-04 11:03:21 -05:00
Jonathan Math
ad5d7ba1e9 fix service state timeline key error and change scrape interval 2022-01-04 11:02:22 -05:00
Samuel Clay
9432e9a5b8 Merge branch 'master' into pipeline
* master:
  Pruning docker, updating sentry release webhook only on local.
  Delete .github directory
  Adding Sentry release webhook to deployment of web, task, monitor, and node.
  Add Sentry action workflow for actions
  Moving from hosted Sentry to self-hosted sentry.
  Flask transactions are way too often.
  Cleanup
  Seems redundant with newsblur_web/docker_local_settings.py
  Using new repo password for postgres.
  Moving around postgres config
  Moving directories.
  Adding postgresql backup restoration. Working on config.
  Using user log for db times.
  Last 5 minutes is actually last minute.
  Adding 5min loadtime to prometheus graphs.
  Switching back to nbanalytics with user auth.
  Mongo auth
2022-01-03 18:04:40 -05:00
Samuel Clay
e5e3162f89 Moving from hosted Sentry to self-hosted sentry. 2022-01-03 14:48:39 -05:00
Samuel Clay
380f7a9242 Seems redundant with newsblur_web/docker_local_settings.py 2021-12-18 14:58:07 -05:00
Samuel Clay
6b8e747ebc Moving around postgres config 2021-12-17 17:11:54 -05:00
Samuel Clay
9ced4ccadd Merge branch 'master' into pipeline
* master: (84 commits)
  Deploying new analytics server.
  Create mongodb database user. Only runs on analytics, but should work fine on main mongo.
  Adding second mongo analytics db, cleaning up mongo analytics auth.
  Adding RSS autodiscovery to blog. Thanks https://forum.newsblur.com/t/irony-newsblur-cant-auto-extract-rss-feed-from-blog-newsblur-com/8849.
  Revert "Merge branch 'state_timeline'"
  Fixing syntax error
  Solving docker networking container issues by turning iptables back on but using ufw after.rules that allow ufw to retain blocking ability. Works on Redis, now to move to mongo.
  fix flask_metrics ansible role
  add state timeline dashboard to grafana
  move state timeline to one single flask that gets astate for all services
  Mongo analytics monitor not reayd yet
  Turning consul monitor back on.
  Turning on analytics
  Need to strip csv values.
  Binding redis to public interface.
  Restore postgres backup. Needs work.
  Prepping postgres backup
  Prepping postgres transition, writing redis db maintenance.
  Prepping redis for moving back to primary.
  Updating redis backup to include percentage progress and access to the correct data dump.
  ...
2021-12-16 15:41:57 -05:00
Samuel Clay
7dff2e67c4 Revert "Revert "Merge branch 'state_timeline'""
This reverts commit e70ba4a8c0.
2021-12-15 15:30:53 -05:00
Samuel Clay
9aa5025494 Revert "Merge branch 'state_timeline'"
This reverts commit 83e4609af1, reversing
changes made to 089161b20f.
2021-12-15 15:30:52 -05:00
Samuel Clay
1961de1a8b Fixing syntax error 2021-12-15 15:30:52 -05:00
Samuel Clay
ac1c5ca636 Binding redis to public interface. 2021-12-15 15:30:52 -05:00
Samuel Clay
e70ba4a8c0 Revert "Merge branch 'state_timeline'"
This reverts commit 83e4609af1, reversing
changes made to 089161b20f.
2021-12-15 14:17:48 -05:00
Samuel Clay
9af580e508 Fixing syntax error 2021-12-15 14:06:38 -05:00
Jonathan Math
6189dd4c01 add grafana dashboard backup functionality 2021-12-15 13:40:23 -05:00
Samuel Clay
5008d42a8e Merge branch 'master' into state_timeline
* master:
  Solving docker networking container issues by turning iptables back on but using ufw after.rules that allow ufw to retain blocking ability. Works on Redis, now to move to mongo.
  Mongo analytics monitor not reayd yet
  Turning consul monitor back on.
  Turning on analytics
  Need to strip csv values.
  Binding redis to public interface.
2021-12-15 13:34:11 -05:00
Jonathan Math
3bf8670a2a add state timeline dashboard to grafana 2021-12-15 11:36:25 -05:00
Jonathan Math
99dd44a435 move state timeline to one single flask that gets astate for all services 2021-12-15 11:35:16 -05:00
Samuel Clay
da732b382a Binding redis to public interface. 2021-12-14 12:34:44 -05:00
Jonathan Math
6dd3e5e5e4 add state metrics to prometheus and grafana, update grafana image in docker-compose.metrics.yml 2021-12-10 16:55:20 -05:00
Samuel Clay
9ba3aa1434 Ciphers on staging 2021-12-07 21:30:52 -05:00
Samuel Clay
7ca9b3dcb2 Adjusting sizes 2021-12-07 10:30:13 -05:00
Samuel Clay
a61997a909 Better topline metrics 2021-12-07 10:25:43 -05:00
Samuel Clay
13aecfe8f4 Cleaning up redis dashboard. 2021-12-07 07:33:28 -05:00
Samuel Clay
966f0998fc Removing unused traces of older redis servers. 2021-12-06 13:56:09 -05:00
Samuel Clay
b531b2de3b Syncing grafana json models. 2021-12-06 11:32:26 -05:00
Samuel Clay
b71f383122 Fixing remaining broken js files. Collect static command now works as expected. 2021-11-26 16:44:11 -05:00
Samuel Clay
45b3cfdecf Switching from yuglify to the original closure compiler. Everything's working well, although deployment needs to be rearranged a bit. 2021-11-17 13:41:22 -05:00
Jonathan Math
f26ae11707 add collectstatic make command and newsblur_deploy dockerfile 2021-11-16 12:41:09 -05:00
Samuel Clay
b6db14dacd Switching from Jammit to django-pipeline. Doesn't work yet, needs compressor hooked up and assets checked. 2021-11-14 13:42:06 -05:00
Jonathan Math
7e08fc137c Merge branch 'master' into metrics 2021-10-26 09:43:24 -05:00
Jonathan Math
751e1b0296 Merge branch 'metrics' of https://github.com/samuelclay/NewsBlur into metrics 2021-10-26 09:43:06 -05:00
Jonathan Math
baeedcb537 add postgres dashboard 2021-10-26 09:42:46 -05:00
Samuel Clay
4ff6df5d3d Removing python2.7 dependency from newsblur docker images. 2021-10-26 10:34:36 -04:00
Samuel Clay
db5cb4bd94 Moving redis conf to template to distinguish servers. 2021-10-20 17:27:20 -04:00
Samuel Clay
1fdebf5c76 Removing haproxy=1 from health checks. Haproxy tests the full mongo db, so it's the default case, no need for exceptional query string like consul. 2021-10-19 11:11:11 -04:00
Samuel Clay
9cf5246c6d Not sure if this removes the redis panel, but this is the latest. 2021-10-19 11:00:35 -04:00
Jonathan Math
6f324d608b fix postgres haproxy issue 2021-10-18 11:51:48 -05:00
Jonathan Math
c68e65d09f Merge branch 'metrics' of https://github.com/samuelclay/NewsBlur into metrics 2021-10-18 11:48:54 -05:00
Jonathan Math
402563ab41 Fix node image/ docker-compose issue
the node_modules in the image were being overwritten by the bind mount for the node scripts. I fixed this by installing node_modules into a different directory and setting that directory in an env variable in the image.
2021-10-18 11:48:43 -05:00
Samuel Clay
f4e6d5cd9c Adding redis exporter in dashboard 2021-10-12 11:14:02 -04:00
Jonathan Math
c84afd5529 add postgres-exporter to docker-compose and pormetheus yml 2021-10-12 10:08:40 -05:00
Jonathan Math
1e425dbf5e add elasticsearch dashboard to grafana 2021-10-11 11:13:08 -05:00
Jonathan Math
dd13af5bf1 add querystring logic to mongo db health check to accommodate consul vs haproxy checking 2021-10-11 11:11:42 -05:00
Jonathan Math
0bbff92c73 add elasticsearch_exporter to docker-compose.metrics.yml and prometheus.yml files 2021-10-11 11:09:58 -05:00
Jonathan Math
218afe8ca4 Merge branch 'master' into metrics 2021-10-05 10:34:21 -05:00
Samuel Clay
78ddf8fbf8 Moving mongo 2021-10-05 11:05:33 -04:00
Jonathan Math
e29d25c613 update mongo dashboard, add redis dashboard 2021-10-01 13:18:53 -05:00
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