Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 853 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 853 Bytes

Heracles

Prometheus exporter integration testing tools.

Getting started

Heracles automatically launches the relevant services based on the docker compose configuration, automatically collects metrics from the exporter service, and performs validation according to the configuration file requirements.

asciicast

Configuration

See config-example.yml

Report

Example report(default: heracles-report.yml):

success: true
metrics:
  pg_up:
    name: pg_up
    help: Whether the last scrape of metrics from PostgreSQL was able to connect to the server (1 for yes, 0 for no).
    type: 1
    metric:
      - label: []
        gauge:
          value: 1
results:
  DisallowEmptyMetricsChecker: ok!