Closed edenkoveshi closed 1 year ago
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
This seems to be an issue returned by spanmetrics
. It shows as a problem in the tail-sampling processor because that's the component logging the error.
Could you please try the latest version of the collector (v0.70.0) and report back? In the meantime, I'll label this as a problem with the spanmetrics component.
Pinging code owners for processor/spanmetrics: @albertteoh. 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.
This issue has been closed as inactive because it has been stale for 120 days with no activity.
Component(s)
processor/tailsampling
What happened?
Description
Hi, I am using the OpenTelemetry collector with the tail sampling processor (along some other processors), deployed with the OpenTelemetry Kuberentes Operator. Traces generated mainly using the auto instrumentation feature. I am receiving the following warnings:
tailsamplingprocessor@v0.66.0/processor.go:379 Error sending late arrived spans to destination {"kind": "processor", "name": "tail_sampling", "pipeline": "traces", "policy": "error" , "error": "value not found in metricsKeyToDimensions cache by key \"**some-service**\x00some-operation\x00\SPAN_KIND_INTERNAL\x00STATUS_CODE_UNSET\". failed to build metrics: failed to find dimensions for \"**another-service**\u0000**another-service-2**\", "errorCauses": [{"error":"value not found in metricsKeyToDimensions cache by key \"**some-service**\x00some-operation\x00\SPAN_KIND_INTERNAL\x00STATUS_CODE_UNSET\"} ,{"error": "failed to build metrics: failed to find dimensions for \"**another-service**\u0000**another-service-2**\""}] }
(The ** are for emphasizing, they do not appear in the original log)
To my understanding, the processor fails while generating its` metrics, though I am not sure what dimensions the traces must have so it would work properly.
I have had similar errors with
spanmetrics
andservicegraph
processor but they were fixed when I have upgraded to 0.66.0The collector is deployed behind another collector that serves as a load balancer as documeneted here. However, the error seems to occur even when removing the load balancer.
Here is the processor configuration:
Collector version
contrib 0.66.0
Environment information
Environment
Openshift 4.10 Deployed with OpenTelemetry operator 0.66.0 Collector contrib 0.66.0
OpenTelemetry Collector configuration
Log output
No response
Additional context
No response