Prometheus Configuration

From NovaOrdis Knowledge Base
Revision as of 18:38, 14 October 2020 by Ovidiu (talk | contribs) (→‎Internal)
Jump to navigation Jump to search

Internal

Overview

Prometheus is configured in a prometheus.yaml configuration file. The "global" block controls the server's global configuration. The

global:
  scrape_interval: 15s
  evaluation_interval: 15s
rule_files:
  # - "first.rules"
  # - "second.rules"
scrape_configs:
  - job_name: prometheus
    static_configs:
      - targets: ['localhost:9090']