rust-telemetry-workshop
rust-telemetry-workshop copied to clipboard
How to handle log and trace at the same time?
Thx for this excellent workshop, but I still have some questions.
From opentelemetry's perspect, There're 3 data models: metric log trace. But in this workshop, we use tracing as the library for both log and trace. I want to know how subscriber can tell if an event is a log or a trace? It's important since log and trace may always be stored in different system, like loki for log and tempo for trace.
And I don't find any example about how to setup tracer and logger and meter at the same time