hyperjumptech/monika

Monika Crash When Running Non HTTP Probe with Prometheus Flag

Closed this issue · 0 comments

Describe the bug
Monika crash when running non http probe with Prometheus flag

To Reproduce
Steps to reproduce the behavior:

  1. Run local postgreSQL. Run cd dev && docker compose up
  2. 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

Screenshots
image

Desktop (please complete the following information):

  • OS: [e.g. Pop!_OS]
  • Version [e.g. 22.04]