Open SimranCode opened 8 months ago
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 @open-telemetry/collector-contrib-triagers
. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.
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 @open-telemetry/collector-contrib-triagers
. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
Hello,
I've encountered this issue. I've been using batch
processor succesfully with passing required context. After adding tailsampling
processor, it does not pass context , as noted in this issue.
I think that implementing similar feature, as in batch
processor is good idea. Is this something considered to be implemneted? If so, is there any estimate when it might be done?
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