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

Can we surpport any configuration to enable or disable those metrics? #6818

Closed
yingziisme opened this issue Oct 6, 2022 · 3 comments
Closed
Labels
bug Something isn't working needs author feedback Waiting for additional feedback from the author stale

Comments

@yingziisme
Copy link
Contributor

If we use the metrics with HttpClientMetrics, we will get both there metircs those are http.client.duration, http.client.request.size, http.client.response.size.

Can we surpport any configuration to enable or disable those metrics?

@yingziisme yingziisme added the bug Something isn't working label Oct 6, 2022
@trask
Copy link
Member

trask commented Oct 6, 2022

I think you can create a metric view to drop metrics that you don't want, see https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/incubator/README.md#view-file-configuration

@mateuszrzeszutek
Copy link
Member

Hey @yingziisme ,
Have you tried Views, as Trask suggested in the comment above?

@mateuszrzeszutek mateuszrzeszutek added the needs author feedback Waiting for additional feedback from the author label Jan 19, 2023
@github-actions
Copy link
Contributor

This has been automatically marked as stale because it has been marked as needing author feedback and has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

@github-actions github-actions bot added the stale label Jan 26, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs author feedback Waiting for additional feedback from the author stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants