-
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 App: Correlate spans to logs #159861
Comments
Pinging @elastic/apm-ui (Team:APM) |
.NET does https://github.com/elastic/ecs-dotnet/blob/main/src/Elastic.CommonSchema/EcsDocument.cs#L183 It's not a part of the ecs json logging spec yet though: https://github.com/elastic/ecs-logging/blob/main/spec/spec.json We should look into adding it to the spec and all implementations IMO. |
Python adds |
Node.js adds either Personally I think that is a little weird. I wonder if with the ECS/OTel-semconv work if it things will settle on just setting |
@gbamparop (or others on the APM UI team), do you happen to know off hand if this means that any log records produced by ecs-logging-nodejs libraries that have only |
OTel agents also do add |
@trentm We don't use Trace logs Line 177 in 7e7cf0f
|
In Java, the logs contain The actual value we might put in For example, if we add |
I've just opened elastic/apm#810 to properly capture |
Describe the feature:
Similar to https://github.com/elastic/apm-dev/issues/864 and in relation to elastic/apm-data#40 it would be great if the Kibana UI for APM would provide the option to correlate the logs to a span. For example, the UI could add a
Logs
button as per the screenshot below:The logs are already there and usually contain the
span.id
. As such, it should be possible to create this link in the UI for correlation.The text was updated successfully, but these errors were encountered: