add visuals

This commit is contained in:
Your Name
2025-03-18 11:26:53 +00:00
parent 27ee758ee1
commit a0f337e08d
2 changed files with 51 additions and 40 deletions
+24 -12
View File
@@ -2,7 +2,7 @@ global:
scrape_interval: 60s
evaluation_interval: 60s
scrape_timeout: 10s
sample_limit: 1000 # Limit samples per scrape to prevent overload
sample_limit: 1000
# Rule files
rule_files:
@@ -14,31 +14,43 @@ alerting:
- targets:
scrape_configs:
# Prometheus itself
# Prometheus
- job_name: 'prometheus'
sample_limit: 50000
static_configs:
- targets: ['prometheus:9090']
# Container metrics via cAdvisor
- job_name: 'cadvisor'
- job_name: 'ktpv-orch_cadvisor'
sample_limit: 50000
static_configs:
- targets: ['cadvisor:8080']
metrics_path: /metrics
scheme: http
- job_name: 'ktpv-apps01_cadvisor'
sample_limit: 50000
static_configs:
- targets: ['10.249.84.41:9050']
metrics_path: /metrics
scheme: http
# Host metrics via node-exporter
- job_name: 'node-exporter'
# Metrics via node-exporter
- job_name: 'ktpv-orch_node-exporter'
sample_limit: 50000
static_configs:
- targets: ['node-exporter:9100']
# Loki metrics
- job_name: 'loki'
- job_name: 'ktpv-apps01_node-exporter'
sample_limit: 50000
static_configs:
- targets: ['loki:3100']
- targets: ['10.249.84.41:9060']
# Loki metrics
# - job_name: 'loki'
# sample_limit: 50000
# static_configs:
# - targets: ['loki:3100']
# Grafana metrics
- job_name: 'grafana'
@@ -47,7 +59,7 @@ scrape_configs:
- targets: ['grafana:3000']
# Alloy metrics
- job_name: 'alloy'
sample_limit: 50000
static_configs:
- targets: ['alloy:12345']
# - job_name: 'alloy'
# sample_limit: 50000
# static_configs:
# - targets: ['alloy:12345']