-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Is your feature request related to a problem? Please describe.
Currently on any Http Client, any responses with 404 are setting the Span to ERROR, which may not be the case (in our case Http Status Code is used as an Application Protocol).
We have OTEL Collector to sample any kind of error and in some cases this is always being sampled, causing a lot of data ingestion on the Observability Provider, causing a bill increase.
Describe the solution you'd like
We'd like to have something like OTEL_INSTRUMENTATION_HTTP_CLIENT_404_NO_ERROR=true which defaults to false but makes OTEL Instrumentation interpret HttpClient's 404 on Spans as UNSET or OK.
Describe alternatives you've considered
We have tried disabling Instrumentation of Http Clients, but we'd lose the visibility
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.