mirror of
https://github.com/mii443/prometheus-android-exporter.git
synced 2025-08-22 15:15:35 +00:00
16 lines
473 B
YAML
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"
|
|
]
|