Skip to content

feat(metrics): Prometheus /metrics endpoint (M6) - #22

Merged
ArianAr merged 2 commits into
mainfrom
feat/prometheus-metrics
Jul 16, 2026
Merged

feat(metrics): Prometheus /metrics endpoint (M6)#22
ArianAr merged 2 commits into
mainfrom
feat/prometheus-metrics

Conversation

@ArianAr

@ArianAr ArianAr commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Summary

Implements Prometheus scrape endpoint for M6.

Closes #21

  • GET /metrics via prometheus/client_golang
  • Counters: jobs started/completed/failed/cancelled, bytes, files
  • Gauges: active jobs, active workers
  • Unauthenticated (like /healthz) — protect at network edge
  • Docs: README + ROADMAP

Test

  • go test ./... including metrics endpoint open under auth

@ArianAr ArianAr added enhancement New feature or request backend Go server and API labels Jul 16, 2026
Add job/bytes/file counters and active gauges, scrapeable without auth
for network-edge protection (M6).
@ArianAr
ArianAr force-pushed the feat/prometheus-metrics branch from ea5c20c to 0e7b24e Compare July 16, 2026 18:34

@ArianAr ArianAr left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: clean /metrics exposition; engine counters/gauges look correct; unauth metrics documented. Approve when CI green. Will check CodeQL PR comments if any.

@ArianAr
ArianAr enabled auto-merge (squash) July 16, 2026 18:35
@ArianAr
ArianAr merged commit 054dd98 into main Jul 16, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Go server and API enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Prometheus metrics endpoint (M6)

1 participant