-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[APM - OpenTelemetry] Span Events and Logs support: enhancement requests #123256
Comments
Pinging @elastic/apm-ui (Team:apm) |
Pinging @elastic/unified-observability (Team:Unified observability) |
@cyrille-leclerc Thanks for creating this issue. I noticed there's a mix of APM and Logs embeddable enhancements, so I've added the @elastic/unified-observability team to the ticket as well as we'll probably need to extend the capabilities of this component as well. I have some follow up questions;
I'm not sure I understand what the expected experience will be? What do these span events look like and are they supposed to go in the Logs stream or the Trace waterfall/timeline?
There's an open issue already for adding the "View details" functionality to the Logs component - I assume this is similar? #111325 I think the only thing missing is the ability to View document in Discover.
This is probably best achieved with a control option to show/hide the
Yes, we have an open issue already for adding the
I'm not familiar with the difference between the two - can you explain? I would expect |
The span event API looks like: span.addEvent("order-creation", Attributes.of(
"customer_id", 123456,
"order_price", 654,
"payment_method", "visa
"shipping_method", "express",
"shipping_country", "FR")); Visualization today is
Proposed style of visualization
Where See example of Jaeger visualization of span events
LGTM |
@cyrille-leclerc Thanks for added details. I've added this issue to our design board for planning 👍 |
@elastic/infra-monitoring-ui we will want to look at this from the Logs UI logic side, working with @elastic/unified-observability to figure out how this will be used more generally |
There's currently nothing in the documents to distinguish span events; "span event" isn't something that exists in our model -- they're just log records. "... rather than an unstructured log message" implies that everything that's not a span event is unstructured. That's not the case, there are plenty of structured logging libraries out there. Do they come under the same category as span events? How do we distinguish them? |
After conversation with @Mpdreamz @axw and @cyrille-leclerc about how to best visualize these span events and their attributes, we decided on exploring the following concept;
We will prioritize exploring how to enhance the existing log message rows in the Logs UI to support this. |
It sounds like some of this is possible today with the existing Log Stream component in use. I'm going to un-assign this from our board while APM figures out what exactly it would like to do here, and if there are any features needed with the log stream, we will open a ticket to address them. Please reach out for anything you need! |
@jasonrhodes I filed https://support.elastic.co/cases/5008X00002Ly2fJQAR with Elastic, and they opened If you have access to track that ER inside Elastic, please let me know. |
Enhancements should probably be made in the Logs Explorer embeddable rather than the Logs UI embeddable. I think that is already better at displaying structured events. cc @ruflin |
Kibana version
8.0-rc1
APM Server version (if applicable)
8.0-rc1
Elasticsearch version (if applicable)
8.0-rc1
Steps to Reproduce
Expected Behavior
Enhancement Requests on the Trace Logs Tab
Decreasing priority order priority
labels.*
key value pairs in the log details flyout - this means it would be a short-term solution to look at integrating the log details flyout experience into the embeddablelabels.*
ornumeric_labels.*
fields, then we should display them in the log “message column”. If the “log.message” is quite long, then we can assume that the fields are less useful to be visualized on the default view. (Design issue: https://github.com/elastic/observability-design/issues/160)Actual Behavior
The text was updated successfully, but these errors were encountered: