Prometheus Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Prometheus Concepts =Overview= Prometheus is configured in a prometheus.yaml configuration file. The "global" block control...")
 
Line 1: Line 1:
=Internal=
=Internal=
* [[Prometheus#Subjects|Prometheus]]
* [[Prometheus_Concepts#Configuration|Prometheus Concepts]]
* [[Prometheus_Concepts#Configuration|Prometheus Concepts]]



Revision as of 18:38, 14 October 2020

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']