Skip to content

Add Prometheus metrics to event system - #7

Merged
canmingir merged 2 commits into
mainfrom
event-monitoring
Aug 25, 2025
Merged

Add Prometheus metrics to event system#7
canmingir merged 2 commits into
mainfrom
event-monitoring

Conversation

@c3c43083

Copy link
Copy Markdown
Contributor

Integrates prom-client to track various metrics for event publishing and subscription, including counters, gauges, histograms for publish duration, payload size, error rates, and callback processing. Updates package.json dependencies and exports prom-client for external use.

Integrates prom-client to track various metrics for event publishing and subscription, including counters, gauges, histograms for publish duration, payload size, error rates, and callback processing. Updates package.json dependencies and exports prom-client for external use.
Configured Jest to use ts-jest for TypeScript support and updated dependencies. Also fixed the order of publish and subscribe calls in event.test.ts to ensure correct event handling.
@canmingir
canmingir merged commit af81de1 into main Aug 25, 2025
1 check passed
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.

2 participants