Add prometheus.yml
This commit is contained in:
commit
a81b895c79
12
prometheus.yml
Normal file
12
prometheus.yml
Normal file
@ -0,0 +1,12 @@
|
||||
global:
|
||||
# The default frequency to scrape targets.
|
||||
scrape_interval: 15s
|
||||
# The default frequency to evaluate rules.
|
||||
evaluation_interval: 15s
|
||||
|
||||
scrape_configs:
|
||||
# A job for scraping Prometheus itself.
|
||||
- job_name: 'prometheus'
|
||||
# Use the service name defined in docker-compose.yml as the target hostname.
|
||||
static_configs:
|
||||
- targets: ['localhost:9090']
|
||||
Loading…
x
Reference in New Issue
Block a user