Skip to content

feat(metrics): add prometheus latency histogram for /api/subscription… - #1047

Merged
greatest0fallt1me merged 1 commit into
CalloraOrg:mainfrom
Amksongs:feat/742-prometheus-subscriptions-histogram
Jul 29, 2026
Merged

feat(metrics): add prometheus latency histogram for /api/subscription…#1047
greatest0fallt1me merged 1 commit into
CalloraOrg:mainfrom
Amksongs:feat/742-prometheus-subscriptions-histogram

Conversation

@Amksongs

Copy link
Copy Markdown

…s (closes #742)

closes CalloraOrg#742)

- Add subscriptionsLatencyDuration histogram with route, method, status_code labels and explicit buckets (1ms-10s)
- Add recordSubscriptionsLatency() helper to record per-request observations
- Add resetSubscriptionsMetrics() helper for test isolation
- Update test references from CalloraOrg#873 to CalloraOrg#742
@drips-wave

drips-wave Bot commented Jul 29, 2026

Copy link
Copy Markdown

@Amksongs Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@greatest0fallt1me
greatest0fallt1me merged commit bdc524e into CalloraOrg:main Jul 29, 2026
@greatest0fallt1me

Copy link
Copy Markdown
Contributor

Looks great — merging. Thanks for tightening this up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add prometheus latency histogram for /api/subscriptions

2 participants