-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Open Telemetry headers setter extension not working when any processor is added to the trace pipeline #29852
Comments
Pinging code owners for extension/headerssetter: @jpkrohling. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Can you test replacing the tail-sampling with the transform processor in the traces pipeline and see if it works? Header setter will not work with processors that reassemble incoming batches, such as the batch, group by, or tail-sampling processors. |
Thanks for a quick response !! Is there any workaround by which we can use both Sampling Processor and headers setter extension ? |
@jpkrohling - Is there any other way possible to Sample the data and implement multitenancy at the same time? |
Right now, I don't think it's possible to keep the tenant information from your original context after the telemetry data goes through a tail-sampling processor. We have discussed that in the past (cc @bogdandrutu and @tigrannajaryan), especially around adding a TContext (telemetry context) in pdata, but that never got past the PoC stage. |
Pinging code owners for processor/tailsampling: @jpkrohling. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
We could use a similar approach to the batching processor, which allows keys to be added to the resulting context. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Hello, I think that implementing similar feature, as in |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Hello, we are facing the same issue, tail_sampling processor does not preserve metadata as for example like batch processor does. |
Component(s)
No response
What happened?
When I use Headers Setter extension to set the Tenant ID and Sampling Processor or any processor for that matter for Traces
in Otel Collector Config, the data doesnt get exported to the endpoint.
Both of these features works fine when added individually.
Could you provide any workaround for this if there is no fix available for now?
Collector version
0.91
Environment information
No response
OpenTelemetry Collector configuration
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: