1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-02-03 21:55:57 +00:00

test: Add a Prometheus integration test

This patch adds a Prometheus integration test, that runs a Prometheus
instance which scrapes chasquid, and then does a basic query to ensure
the scraping is working correctly.
This commit is contained in:
Alberto Bertogli
2026-02-02 19:20:08 +00:00
parent 1a4c672ac3
commit af7b1d895c
8 changed files with 88 additions and 1 deletions

View File

@@ -44,6 +44,8 @@ if the dependencies are not found:
- `haproxy`
- `t-19-dkimpy`: [dkimpy](https://pypi.org/project/dkimpy/) integration tests:
- `python3-dkim`
- `t-23-prometheus`: [Prometheus](https://prometheus.io/) integration tests:
- `prometheus promtool`
For some tests, python >= 3.5 is required; they will be skipped if it's not
available.