Skip to content

abbhb/heracles

 
 

Repository files navigation

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!

About

Prometheus Freed by Heracles

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 97.6%
  • Makefile 2.4%