Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tracing] Extract parent OpenTelemetry span safely
Turns out the `fields` method returns the names of fields, but it's not mandatory that those fields are present. To cope with this, we blindly assume that extracting the span's parent will work, and catch the exception in the case where the parent is missing. See: open-telemetry/opentelemetry-java#767
- Loading branch information