revert: "chore: removed all exporters and prometheus"

This reverts commit 353e90ea9e.
This commit is contained in:
ITQ
2025-07-19 23:41:12 +03:00
parent 30bbda2e7c
commit bc0f7c81df
6 changed files with 113 additions and 3 deletions
+33
View File
@@ -0,0 +1,33 @@
# Global config
global:
scrape_interval: 10s
scrape_timeout: 10s
evaluation_interval: 10m
external_labels:
environment: local
instance: somemachinelol
scrape_configs:
# Prometheus
- job_name: prometheus
scrape_interval: 5s
static_configs:
- targets: ["localhost:9090"]
# Postgres
- job_name: postgres
scrape_interval: 10s
static_configs:
- targets: ["postgres-exporter:9187"]
# Redis
- job_name: redis
scrape_interval: 10s
static_configs:
- targets: ["redis-exporter:9121"]
# Celery
- job_name: celery
scrape_interval: 30s
static_configs:
- targets: ["celery-exporter:9808"]