[8.19] [Discover][APM] Detect OTEL spans for doc viewer (#224439)#224608
Merged
kibanamachine merged 1 commit intoelastic:8.19from Jun 19, 2025
Merged
[8.19] [Discover][APM] Detect OTEL spans for doc viewer (#224439)#224608kibanamachine merged 1 commit intoelastic:8.19from
kibanamachine merged 1 commit intoelastic:8.19from
Conversation
## Summary This PR modifies the Span doc viewer check to be better equipped for dealing with unprocessed OTEL trace spans. If there is no `processed.event` field, we can start assuming there'd be OTEL specific fields to check. Here, we check for `kind` which *should* be present, so any value determines this to be a trace span. In the absence of `kind` being present and no `processed.event` field (just a `data_stream.type` field, we can assume it is a span regardless. ## How to test * Add the following to your `kibana.dev.yml` file: ```yaml discover.experimental.enabledProfiles: - observability-traces-data-source-profile - observability-traces-transaction-document-profile - observability-traces-span-document-profile ``` * Set up a source of unprocessed OTEL data to feed into ES (Open telemetry demo, etc) * Set your space to Observability mode, and go to Discover. * Query for `traces-*` and open any record for the document viewer * The Span Overview tab should be visible. (cherry picked from commit c88328f)
Contributor
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Async chunks
cc @Bluefinger |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto8.19:Questions ?
Please refer to the Backport tool documentation