Commit graph

15441 commits

Author SHA1 Message Date
Samuel Clay
d385495ef5 Explicit prometheus command, modeled after the dockerhub image. We're not using --web.console.libraries=/usr/share/prometheus/console_libraries --web.console.templates=/usr/share/prometheus/consoles 2021-12-07 16:23:05 -05:00
Samuel Clay
e63ad6193b Explicit config file 2021-12-07 11:16:00 -05:00
Samuel Clay
df21851876 Merge branch 'prometheus_retention'
* prometheus_retention:
  add 10 year retention for data in prometheus
2021-12-07 11:11:52 -05:00
Samuel Clay
b7995547e4 Merge branch 'master' into prometheus_retention
* master:
  Turning refresh stale feeds back on.
  Terraform Digital Ocean v2.0
  Adjusting sizes
  Better topline metrics
  Cleaning up redis dashboard.
  Flask metrics may not have the port, use default.
2021-12-07 11:11:18 -05:00
Samuel Clay
b2fde6f8f7 Turning refresh stale feeds back on. 2021-12-07 10:45:06 -05:00
Samuel Clay
18371c6b46 Terraform Digital Ocean v2.0 2021-12-07 10:45:06 -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
0f81b9dfa1 Flask metrics may not have the port, use default. 2021-12-07 07:16:31 -05:00
Jonathan Math
cbe6c58b0c add 10 year retention for data in prometheus 2021-12-06 17:25:15 -05:00
Samuel Clay
ec33dfab48 Separating consul from haproxy health checks. Consul doesn't care what the status of the service is so long as it's reachable. Don't take out bad nodes, let the software do that. 2021-12-06 15:12:12 -05:00
Samuel Clay
966f0998fc Removing unused traces of older redis servers. 2021-12-06 13:56:09 -05:00
Samuel Clay
3e3dd700c3 Removing unused redis_avg (now split into user, session, story, and pubsub) 2021-12-06 11:48:27 -05:00
Samuel Clay
b531b2de3b Syncing grafana json models. 2021-12-06 11:32:26 -05:00
Samuel Clay
678662de8f Bumping celery concurrency 2021-12-06 11:23:34 -05:00
Samuel Clay
779348c495 Removing unused db redis query counters. 2021-12-06 10:49:37 -05:00
Samuel Clay
87c3b111a8 Removing dependencies from ssh helper. 2021-11-14 18:43:17 -05:00
Samuel Clay
73380a2e74 Specifying docker build platform (--platform linux/amd64) so M1 Macs don't build arm64/v8. 2021-11-14 17:27:02 -05:00
Samuel Clay
38c2004479 Haproxy shoudl reload on config update, adding celery task group, and allowing task servers to update inventory. 2021-11-14 17:21:04 -05:00
Samuel Clay
b2a325f7e5 Merge branch 'metrics'
* metrics:
  add postgres dashboard
2021-11-09 11:32:36 -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
02472c959e Elasticsearch should ignore types by default. 2021-10-26 10:34:43 -04:00
Samuel Clay
4ff6df5d3d Removing python2.7 dependency from newsblur docker images. 2021-10-26 10:34:36 -04:00
Samuel Clay
023dd72bc7 Using .env server_name 2021-10-26 08:45:05 -04:00
Samuel Clay
403ce988e4 Adding server name to node.js sentry. 2021-10-26 08:42:49 -04:00
Samuel Clay
81ffcc52dc Switching node from .send to .sendStatus. 2021-10-26 08:33:50 -04:00
Samuel Clay
2c24866fe0 Bumping errors from sentry to user. 2021-10-26 08:29:25 -04:00
Samuel Clay
d1e37c27c0 Buffer() to Buffer.from 2021-10-26 08:22:29 -04:00
Samuel Clay
62a7b1255c Skipping mongo1. 2021-10-26 08:15:17 -04:00
Samuel Clay
c9075cc151 Better error handling for mercury reader. 2021-10-26 08:15:17 -04:00
Samuel Clay
bf70f2aaf7 Redis replica user 2021-10-25 21:24:00 -04:00
Samuel Clay
205d35b932 Removing unused readability unparseable error. 2021-10-25 19:46:15 -04:00
Samuel Clay
1dbc1007d0 Adding mute user feature to hide public comments from users you don't want to see. 2021-10-25 16:47:52 -04:00
Samuel Clay
db5cb4bd94 Moving redis conf to template to distinguish servers. 2021-10-20 17:27:20 -04:00
Samuel Clay
24d6868108 Redis port 2021-10-20 17:18:28 -04:00
Samuel Clay
e0af49022e Adjusting redis conf dirs. 2021-10-20 17:12:24 -04:00
Samuel Clay
5734225d6f Updating Redis to v6, adding redis servers. 2021-10-20 16:46:19 -04:00
Samuel Clay
95693dae82 Handling missing .env file in node. 2021-10-19 13:00:30 -04:00
Samuel Clay
5915ee1a3e Restarting grafana on build/deploy. 2021-10-19 12:53:11 -04:00
Samuel Clay
ce34d598ca Directory needs changing from elasticsearch_exporter to elasticsearch-exporter. 2021-10-19 11:26:22 -04:00
Samuel Clay
2a8f8678dc Splitting not master error and server selection timeout in mongo monitor. 2021-10-19 11:15:47 -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
e86967bfba Don't check consul vs haproxy. Let consul be the exception adn the default being a full test. 2021-10-19 11:08:46 -04:00
Samuel Clay
335bc9e235 Merge branch 'metrics'
* metrics:
  Not sure if this removes the redis panel, but this is the latest.
  fix postgres haproxy issue
  Fix node image/ docker-compose issue
  fix: docker-compose was getting an error because there is no .env file.
  Adding redis exporter in dashboard
  add postgres-exporter to docker-compose and pormetheus yml
  add elasticsearch dashboard to grafana
  add querystring logic to mongo db health check to accommodate consul vs haproxy checking
  add elasticsearch_exporter to docker-compose.metrics.yml and prometheus.yml files
  add elasticsearch-exporter role in ansible
2021-10-19 11:01:45 -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
Samuel Clay
52b8cfb85b Task servers at , may remove. 2021-10-19 10:58:24 -04:00
Jonathan Math
6f324d608b fix postgres haproxy issue 2021-10-18 11:51:48 -05:00