Title
#help
Rasmus Dencker

Rasmus Dencker

06/02/2022, 4:35 PM
After enabling tracing I'm getting this error:
{"log.level":"warn","@timestamp":"2022-06-02T16:23:26.596Z","log.logger":"cerbos.otel","message":"OpenTelemetry error","error":"starting span \"ExportMetrics\": unsupported sampler: 0x7df690"}
- any clue?
Emre (Cerbos)

Emre (Cerbos)

06/02/2022, 7:24 PM
Hi Rasmus, I am not sure. However, perhaps @Charith (Cerbos) or @Dennis (Cerbos) can help.
Charith (Cerbos)

Charith (Cerbos)

06/02/2022, 7:29 PM
It's an annoying but harmless issue in the OpenTelemetry library. I haven't found a solution for it yet. You can safely ignore that log message.
Rasmus Dencker

Rasmus Dencker

06/02/2022, 7:50 PM
Oh, right. Thanks @Charith (Cerbos). I wasn't seeing any traces in Tempo, so I was wondering if it was related. I'll dig further 😄
8:01 PM
got it working!
Charith (Cerbos)

Charith (Cerbos)

06/02/2022, 8:02 PM
Excellent! We have only tested with Jaeger. Did you have to do anything special to send traces to Tempo?
Rasmus Dencker

Rasmus Dencker

06/02/2022, 8:06 PM
Nope. Tempo supports a bunch of different formats, including Jager
8:06 PM
8:06 PM
That's all I had do to. Identical to Jaeger, but it's ingested in Tempo
8:07 PM
Charith (Cerbos)

Charith (Cerbos)

06/02/2022, 8:07 PM