Prometheus configuration

From wikinotes
Revision as of 02:09, 16 February 2022 by Will (talk | contribs) (→‎Exporters)

Prometheus

Consuming Exporters

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

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