Open Telemetry debugging

I have the Deno Open Telemetry set up, it works fine with a in-house Tempo collector. I'm trying to setup the collector to another one that requires auth (via headers) but this is not working, I think it is the collector is refusing the request. I'm using OTEL_EXPORTER_OTLP_HEADERS="Authorization=<REDACTED>". Two questions: 1. How can I turn any kind of debugging on so I can see open telemetry requests errors? 2. Can I wrap the data, all traces, in a custom property?
4 Replies
marvinh.
marvinh.4d ago
Not sure if it helps, but you can see internal deno debug messages with DENO_LOG=debug
Romuald Quantin
Romuald QuantinOP3d ago
Hey @marvinh. , thanks for the tips. Infortunately it seems to be mostly V8 and module loading logs, nothing around otel.
crowlKats
crowlKats3d ago
@snek could you advise?
snek
snek3d ago
hm looks like deno needs to be compiled with the internal-error feature of the opentelemetry crate? otherwise it just throws away the errors very annoying

Did you find this page helpful?