Skip to content

Prometheus

Finn Lippok edited this page Jul 1, 2023 · 2 revisions

Prometheus Configuration

Prometheus is an open-source monitoring and alerting system used to collect and analyze time-series data. Here's a brief explanation of the configuration:

  • Global Config:

    • scrape_interval: Scrape targets every 15 seconds.
    • evaluation_interval: Evaluate rules every 15 seconds.
    • scrape_timeout: Set to default (10s).
  • Alertmanager:

    • Configure a static Alertmanager target (currently commented out).
  • Scrape Configs:

    1. Scrape Prometheus itself (localhost:9090).
    2. Scrape Spring Boot Actuator metrics (spring:8080).
    3. Scrape mysqld-exporter metrics (mysqld-exporter:9104).
  • Rule Files:

    • Currently, no rule files are enabled (commented out).

For detailed information, refer to the official Prometheus documentation: https://prometheus.io/docs/

Clone this wiki locally