Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenTelemetry Metrics: Emit an UpDownCounter (gauge) for active handlers #7083

Open
mauroservienti opened this issue Jun 21, 2024 · 1 comment

Comments

@mauroservienti
Copy link
Member

As proposed in #6953 (comment)

@lailabougria lailabougria changed the title Metrics: Emit an UpDownCounter (gauge) for active handlers OpenTelemetry Metrics: Emit an UpDownCounter (gauge) for active handlers Jun 25, 2024
@bbrandt
Copy link

bbrandt commented Jul 25, 2024

Example of active handlers from one of our apps:
image

Total Active Handlers

sum (nservicebus_messaging_active_handlers{kubernetes_namespace=~"$namespace", app_kubernetes_io_name=~"$service"})

Active Handlers Per Service

sum by(app_kubernetes_io_name) (nservicebus_messaging_active_handlers{kubernetes_namespace=~"$namespace", app_kubernetes_io_name=~"$service"})

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

No branches or pull requests

2 participants