feat: add Prometheus metrics and dashboard #6

Merged
warkanum merged 1 commits from issue-4-prometheus-metrics into main 2026-09-20 12:25:47 +00:00
Member

Summary

  • add per-database/job/group Prometheus counters and duration histograms
  • expose queue depth, queue count, and database count gauges
  • serve /metrics plus an embedded single-page HTML dashboard on a configurable listener
  • document metrics configuration defaults

Verification

  • GOTMPDIR=/home/hermes/.tmp GOCACHE=/home/hermes/.cache/go go test $(go list ./... | grep -v '/tests/integration') — passed
  • GOTMPDIR=/home/hermes/.tmp GOCACHE=/home/hermes/.cache/go go vet ./... — passed
  • GOTMPDIR=/home/hermes/.tmp GOCACHE=/home/hermes/.cache/go go build ./cmd/broker — passed
  • git diff --check — passed
  • make lint — unavailable: installed golangci-lint v1 rejects this repository's golangci-lint v2 configuration
  • full go test ./... — integration tests unavailable because PostgreSQL at 127.0.0.1:5433 was not running
## Summary - add per-database/job/group Prometheus counters and duration histograms - expose queue depth, queue count, and database count gauges - serve `/metrics` plus an embedded single-page HTML dashboard on a configurable listener - document metrics configuration defaults ## Verification - `GOTMPDIR=/home/hermes/.tmp GOCACHE=/home/hermes/.cache/go go test $(go list ./... | grep -v '/tests/integration')` — passed - `GOTMPDIR=/home/hermes/.tmp GOCACHE=/home/hermes/.cache/go go vet ./...` — passed - `GOTMPDIR=/home/hermes/.tmp GOCACHE=/home/hermes/.cache/go go build ./cmd/broker` — passed - `git diff --check` — passed - `make lint` — unavailable: installed golangci-lint v1 rejects this repository's golangci-lint v2 configuration - full `go test ./...` — integration tests unavailable because PostgreSQL at `127.0.0.1:5433` was not running
sgcommand added 1 commit 2026-09-19 03:12:55 +00:00
feat: add prometheus metrics and dashboard
Integration Tests / integration-test (pull_request) Successful in 2m33s
f69cbea49f
warkanum approved these changes 2026-09-20 12:25:39 +00:00
warkanum left a comment
Owner

Look good.

Look good.
warkanum merged commit b748798eaa into main 2026-09-20 12:25:47 +00:00
Sign in to join this conversation.