hydra/doc/manual/src/monitoring
2021-08-24 10:56:13 -04:00
..
README.md hydra-notify: support sending diagnostic dumps to STDERR on request 2021-08-24 10:56:13 -04:00

Monitoring Hydra

Webserver

The webserver exposes Prometheus metrics for the webserver itself at /metrics.

Queue Runner

The queue runner's status is exposed at /queue-runner-status:

$ curl --header "Accept: application/json" http://localhost:63333/queue-runner-status
... JSON payload ...

Notification Daemon

The hydra-notify process can expose Prometheus metrics for plugin execution. See hydra-notify's Prometheus service for details on enabling and configuring the exporter.

The notification exporter exposes metrics on a per-plugin, per-event-type basis: execution durations, frequency, successes, and failures.

Diagnostic Dump

The notification daemon can also dump its metrics to stderr whether or not the exporter is configured. This is particularly useful for cases where metrics data is needed but the exporter was not enabled.

To trigger this diagnostic dump, send a Postgres notification with the hydra_notify_dump_metrics channel and no payload. See Re-sending a notification.