I just read this article, particularly the integration between logs and traces.
I can already jump from logs to traces by using derivedDataFields. But reversely, I’m super interested in how we can jump to logs from a trace (like the image below):
Traces to logs currently requires Loki and can be configured under the Tempo datasource.
I believe there is also a way to get generic links to work on the span level, but I’m not seeing configuration for it. @connorlindsey or @joeytawadrous may have more info.
There needs to be some shared tag between your trace spans and logs for the feature to work correctly. For example, pod, job, app, etc. are good labels on your logs that you could also include on your spans to enable trace to logs.
The tags in common between the logs and spans are what allow the go-between to function.