1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-02-02 21:45:55 +00:00
Files
go-chasquid-smtp/test/t-23-prometheus/prometheus.yml
Alberto Bertogli af7b1d895c 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.
2026-02-02 19:33:57 +00:00

13 lines
291 B
YAML

# Prometheus configuration file for testing chasquid metrics.
global:
# Reduce intervals to speed up the tests.
scrape_interval: 100ms
scrape_timeout: 100ms
evaluation_interval: 100ms
scrape_configs:
- job_name: 'chasquid'
static_configs:
- targets: ['localhost:1099']