Samuel Clay
c08ac7d999
Adding feed_sizes to prometheus. Also adding archive and pro subscribers.
2022-05-11 15:23:47 -04:00
Samuel Clay
893619596b
Adding django prometheus metrics.
2022-03-31 15:34:33 -04:00
Samuel Clay
af7524a976
Bumping haproxy state timeline scrapes.
2022-01-04 12:51:45 -05:00
Samuel Clay
213b60bcd6
Refactored state timeline to work as a flask metrics server on haproxy. Needs ansible configs to deploy on www server.
2022-01-04 12:26:47 -05:00
Samuel Clay
93077c79fa
Forgot to save merge conflict.
2022-01-04 11:24:24 -05:00
Samuel Clay
0db15560da
Merge branch 'master' into state_timeline
...
* master: (29 commits)
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
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.
...
2022-01-04 11:18:48 -05:00
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
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
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
99dd44a435
move state timeline to one single flask that gets astate for all services
2021-12-15 11:35:16 -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
Jonathan Math
c84afd5529
add postgres-exporter to docker-compose and pormetheus yml
2021-10-12 10:08:40 -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
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
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
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
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
e91120413f
add mongo monitor endpoints to prometheus.docker.yml
2021-08-10 10:05:50 -05:00
Samuel Clay
e11d4db4ea
Fixing prometheus to use consul internal dns.
2021-07-10 16:11:04 -04:00
Jonathan Math
0cc444294f
fix prometheus.consul.yml.j2
2021-06-25 09:14:21 -06:00
Jonathan Math
3c5f26a26a
add exporters for dbs
2021-05-26 12:16:33 -04:00
Jonathan Math
8950f683c7
use node names in grafana
2021-05-21 12:56:59 -04:00
Jonathan Math
2d36967b4b
add scrape duration to newsblur dashboard
2021-05-21 11:28:15 -04:00
Jonathan Math
8be6b09920
add node exporter dashboard
2021-05-21 11:12:37 -04:00
Jonathan Math
737c41753e
change job_name to node_exporter in promtheus.consul.yml.j2
2021-05-19 10:34:15 -04:00
Jonathan Math
e08678b613
WIP attempting to get node exporter talking to prometheus but it doesn't work
2021-05-18 12:11:20 -04:00
Jonathan Math
982c7dd660
use consul.service.nyc1.consul:8500 for consul manager in prometheus
2021-05-18 09:24:41 -04:00
Jonathan Math
e698fb03f8
fix up prometheus and try to get grafana/prometheus working in ansible (Work in progress)
2021-05-17 15:14:19 -04:00
Jonathan Math
a9219030e0
edit prometheus.consul.yml.j2, add consul sd configs, and add node-exporter consul service
2021-05-17 10:04:16 -04:00
Jonathan Math
fbd656c290
rename prometheus docker files and add files for alertmanager
2021-05-07 10:00:46 -05:00
Jonathan Math
85eb6a4fd5
merge recent changes
2021-05-07 09:59:35 -05:00
Jonathan Math
0b3369ac2e
remove commented yaml form prometheus config
2021-05-04 09:09:11 -05:00
Jonathan Math
285e96fe87
change scrape_interval back to 5s just for docker-compose
2021-05-04 09:08:41 -05:00
Jonathan Math
11cd9ede85
make prometheus scrape every 5 minutes
2021-05-03 07:55:59 -05:00
Jonathan Math
9cbad888c7
redo prometheus scrapers and build the jobs for them in prometheus.yml
2021-04-30 13:48:48 -05:00
Jonathan Math
6276bc8448
begin development with ansible by adding to docker-compose and starting ansible roles
2021-04-27 08:00:06 -05:00