Files
prometheus-android-exporter/local/prometheus.yaml
Martin Ptáček c6922195a9 staging
2023-05-05 17:45:50 +02:00

16 lines
473 B
YAML

# Prometheus global configuration file
global:
scrape_interval: 3s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
scrape_configs:
- job_name: "prometheus"
static_configs:
- targets: ["localhost:9090"] # scrape prometheus itself
- job_name: "android phones"
static_configs:
- targets: [
"localhost:8080"
]