mirror of
https://github.com/prometheus/prometheus
synced 2025-01-28 10:23:18 +00:00
986adfa557
Change-Id: I38646c2be53b6993abe464d9cdd9b211678de496
27 lines
380 B
Plaintext
27 lines
380 B
Plaintext
global {
|
|
scrape_interval: "1s"
|
|
evaluation_interval: "1s"
|
|
labels {
|
|
label {
|
|
name: "owner"
|
|
value: "test"
|
|
}
|
|
}
|
|
rule_file: "prometheus.rules"
|
|
}
|
|
|
|
job {
|
|
name: "prometheus"
|
|
scrape_interval: "5s"
|
|
|
|
target_group {
|
|
target: "http://localhost:9090/metrics.json"
|
|
labels {
|
|
label {
|
|
name: "group"
|
|
value: "canary"
|
|
}
|
|
}
|
|
}
|
|
}
|