-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Monitor - ExporterMonitor OpenTelemetry ExporterMonitor OpenTelemetry Exportercustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
Due to 21ee8ad#diff-91578a36a9cd93bc063569087dd9e7421dd054203bbf445a117c780ad4192e4aR438 all exception reported from consumer span will be ignored.
In this commit you accept exceptions either from remote span or internal span. However consider scenario:
- Kafka message arrives
- you extract context from headers -> context with no recording span is created. Span's isRemote property is true;
- you call startActiveSpan to create span for message handling using extracted context and kind = SpanKind.Consumer.
- newly created span is no longer "remote" because it is child of remote span - so exceptions are ignored.
Yes, we can set kind to SpanKind.Internal, but it breaks visual span representation in UI and semantics overall...
Note, that in this context we have enough information to report "resolved" exception.
Metadata
Metadata
Assignees
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Monitor - ExporterMonitor OpenTelemetry ExporterMonitor OpenTelemetry Exportercustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that