[bug] Span/Activity cannot be exported to Tempo if Activity.StatusDescription has the length of 128 characters or greater #6117
Labels
bug
Something isn't working
needs-triage
New issues which have not been classified or triaged by a community member
pkg:OpenTelemetry.Exporter.OpenTelemetryProtocol
Issues related to OpenTelemetry.Exporter.OpenTelemetryProtocol NuGet package
Package
OpenTelemetry.Exporter.OpenTelemetryProtocol
Package Version
Runtime Version
net8.0
Description
A span with
Status=Error
andStatusDescription
with the length of 128 characters and greater cannot be exported to tempo instance if OpenTelemetry.Exporter.OpenTelemetryProtocol v1.11.0 and greater is used.The self-diagnostics logs says the following:
This bug isn't reproducable in case where the length of the status description is 127 characters and less. Also, it's not reproducable in the previous versions of the package.
Steps to Reproduce
docker-compose.yaml
and paste the following snippet to it:tempo.yaml
in the same place and paste the following snippet to it:tempo-data
folder in the same place.docker-compose up -d
to start tempo locally.http://localhost:3200/ready
until you getready
response from tempo.OpenTelemetry.Exporter.Console
andOpenTelemetry.Exporter.OpenTelemetryProtocol
of version 1.11.0 or 1.11.1, and put the following code intoProgram.cs
:OTEL_DIAGNOSTICS.json
with the following content:Activity.TraceId
value from the console, and sendhttp://localhost:3200/api/traces/<your trace id>
. You will get 404 response./bin/Debug/net8.0
, find the self-diagnostincs logs, and see the message about 400 response.Expected Result
Actual Result
Additional Context
No response
The text was updated successfully, but these errors were encountered: