rust-telemetry-workshop icon indicating copy to clipboard operation
rust-telemetry-workshop copied to clipboard

How to handle log and trace at the same time?

Open caibirdme opened this issue 1 year ago • 0 comments

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

caibirdme avatar Jan 23 '25 11:01 caibirdme