mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-29 07:29:42 -08:00
22 lines
270 B
Plaintext
22 lines
270 B
Plaintext
|
global {
|
||
|
scrape_interval = "30s"
|
||
|
evaluation_interval = "30s"
|
||
|
labels {
|
||
|
monitor = "test"
|
||
|
}
|
||
|
rule_files = [
|
||
|
"prometheus.rules"
|
||
|
]
|
||
|
}
|
||
|
|
||
|
job {
|
||
|
jobname = "prometheus"
|
||
|
scrape_interval = "15s"
|
||
|
|
||
|
targets {
|
||
|
endpoints = [
|
||
|
"http://localhost:9090/metrics.json"
|
||
|
]
|
||
|
}
|
||
|
}
|