Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prometheus: scrape pg, redis instances by default #580

Merged
merged 1 commit into from Sep 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
29 changes: 20 additions & 9 deletions prometheus/prometheus_targets.yml
@@ -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:
Expand Down Expand Up @@ -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