Prometheus configuration: Difference between revisions

From wikinotes
Line 1: Line 1:
= Prometheus =
= Prometheus =
<blockquote>
<blockquote>
== Exporters ==
== Consuming Exporters ==
<blockquote>
<blockquote>
<syntaxhighlight lang="yaml">
<syntaxhighlight lang="yaml">

Revision as of 02:09, 16 February 2022

Prometheus

Consuming Exporters

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

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