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

Query parameter metrics #9627

Open
steven-sheehy opened this issue Oct 23, 2024 · 0 comments
Open

Query parameter metrics #9627

steven-sheehy opened this issue Oct 23, 2024 · 0 comments
Labels
enhancement Type: New feature rest Area: REST API

Comments

@steven-sheehy
Copy link
Member

Problem

We currently have request metrics broken down by path and status but are lacking insight into which query parameters are used.

Solution

Use prom-client library in an existing interceptor to record a new hedera_mirror_rest_request timer (counter plus sum) that includes code, method, path and param labels. param label will only include known query parameter names.

Alternatives

No response

@steven-sheehy steven-sheehy added enhancement Type: New feature rest Area: REST API labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Type: New feature rest Area: REST API
Projects
None yet
Development

No branches or pull requests

1 participant