scrape_interval: 15s # By default, scrape targets every 15 seconds.
evaluation_interval: 15s # Evaluate rules every 15 seconds.
# Attach these extra labels to all timeseries collected by this Prometheus instance.
monitor: 'codelab-monitor'
# Override the global default and scrape targets from this job every 5 seconds.
- targets: ['localhost:9090']
- job_name: 'example-random'
# Override the global default and scrape targets from this job every 5 seconds.
- targets: ['localhost:8080', 'localhost:8081']
- targets: ['localhost:8082']