Monika Crash When Running Non HTTP Probe with Prometheus Flag
Closed this issue · 0 comments
haricnugraha commented
Describe the bug
Monika crash when running non http probe with Prometheus flag
To Reproduce
Steps to reproduce the behavior:
- Run local postgreSQL. Run
cd dev && docker compose up
- Run Monika with the following config and prometheus flag. Run
npm start -- --prometheus 3001
probes:
- id: postgres
interval: 2
incidentThreshold: 1
recoveryThreshold: 1
postgres:
- uri: postgres://postgres_user:postgres_password@localhost:5432/postgres_db
Expected behavior
Monika probe the postgreSQL and display the metrics on the prometheus endpoint
Desktop (please complete the following information):
- OS: [e.g. Pop!_OS]
- Version [e.g. 22.04]