Prometheus configuration

From wikinotes
Revision as of 01:46, 15 February 2022 by Will (talk | contribs) (Created page with "= Prometheus = <blockquote> == Exporters == <blockquote> <syntaxhighlight lang="yaml"> # /usr/local/etc/prometheus.yml global: scrape_interval: 15s scrape_configs: - job_na...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Prometheus

Exporters

# /usr/local/etc/prometheus.yml
global:
  scrape_interval: 15s

scrape_configs:
- job_name: node_exporter
  static_configs:
  - targets: ['localhost:9100']