Skip to content
Snippets Groups Projects
Commit eabf1c7a authored by Gabriel-Octavian JITEA's avatar Gabriel-Octavian JITEA
Browse files

Replace config.yml

parent 42067b28
Branches main
No related tags found
No related merge requests found
# my global config
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
# scrape_timeout is set to the global default (10s).
# Attach these labels to any time series or alerts when communicating with
# external systems (federation, remote storage, Alertmanager).
external_labels:
monitor: 'codelab-monitor'
# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
# - "first.rules"
# - "second.rules"
scrape_interval: 3s
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'kong'
- job_name: 'prometheus'
scrape_interval: 5s
static_configs:
- targets: ['prometheus:9090']
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
- job_name: 'docker'
scrape_interval: 5s
static_configs:
- targets: ['host.docker.internal:9323']
- job_name: 'node resources'
static_configs:
- targets: ['node_exporter:9100']
params:
collect[]:
- cpu
- meminfo
- diskstats
- netdev
- netstat
- job_name: 'node storage'
static_configs:
- targets: ['kong:8001']
- targets: ['node_exporter:9100']
params:
collect[]:
- filefd
- filesystem
- xfs
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment