Prometheus exporter integration testing tools.
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.
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!