mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-27 06:29:42 -08:00
25 lines
327 B
Plaintext
25 lines
327 B
Plaintext
global {
|
|
scrape_interval = "1s"
|
|
evaluation_interval = "1s"
|
|
labels {
|
|
monitor = "test"
|
|
}
|
|
rule_files = [
|
|
"prometheus.rules"
|
|
]
|
|
}
|
|
|
|
job {
|
|
name = "prometheus"
|
|
scrape_interval = "5s"
|
|
|
|
targets {
|
|
endpoints = [
|
|
"http://localhost:9090/metrics.json"
|
|
]
|
|
labels {
|
|
group = "canary"
|
|
}
|
|
}
|
|
}
|