prometheus: scrape pg, redis instances by default (#580)

This commit is contained in:
Robert Lin authored and GitHub committed 2021-09-10 10:38:24 -04:00
1 parent 30ccdf22c9
commit 005f6f71ae
1 file changed
+20 -9
+20 -9
View File
@@ -1,13 +1,4 @@
---
- labels:
job: node
targets:
# Uncomment these if you want to monitor PostgreSQL / Redis via Prometheus.
#- pgsql:9187
#- codeintel-db:9187
#- codeinsights-db:9187
#- redis-cache:9121
#- redis-store:9121
- labels:
job: node
targets:
@@ -58,3 +49,23 @@
job: symbols
targets:
- symbols-0:6060
- labels:
job: pgsql
targets:
- pgsql:9187
- labels:
job: codeintel-db
targets:
- codeintel-db:9187
- labels:
job: codeinsights-db
targets:
- codeinsights-db:9187
- labels:
job: redis-cache
targets:
- redis-cache:9121
- labels:
job: redis-store
targets:
- redis-store:9121