Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.29 KB

README.md

File metadata and controls

47 lines (30 loc) · 1.29 KB

License CI Release

Prom Reporter

This repo provides a reporter to gather insight from desired prometheus metrics.

Requirements

  • Python 3.12+

Installation

pip install -r requirements.txt

Usage

  1. Create a config yaml file containing your desired queries just like the repo example.

  2. Run the application providing the config and the output files' paths:

    python app/main.py -c tests/config.yaml -o output.json

Contributing

Thank you for considering contributing! If you find an issue or have a better way to do something, feel free to open an issue or a PR.

Test

pytest -v

Coverage

coverage run -m pytest
coverage report

License

This repository is open-sourced software licensed under the Apache License 2.0.