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

How to Add HTTP Path as a Dimension to http_client_duration_bucket Metric in OpenTelemetry Java? #12971

Open
dengkai1991 opened this issue Dec 26, 2024 · 0 comments
Labels
enhancement New feature or request needs triage New issue that requires triage

Comments

@dengkai1991
Copy link

dengkai1991 commented Dec 26, 2024

I want to include the HTTP path (e.g., /api/resource) as a label or dimension in the http_client_duration_bucket metric for outbound HTTP requests. How can I achieve this? Is there a way to customize or add attributes to the metrics generated by the HTTP client instrumentation?

@dengkai1991 dengkai1991 added enhancement New feature or request needs triage New issue that requires triage labels Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage New issue that requires triage
Projects
None yet
Development

No branches or pull requests

1 participant