OpenTelemetry Setup with Axiom.co
all the docs and demo videos by deno assumes that the endpoint is not authenticated. can someone help me to configure this with Axiom.co endoints
I tried with these variables within env but this didn't work
4 Replies
axiom.co looks great.
did you look at https://docs.deno.com/runtime/fundamentals/open_telemetry/
and authorize in deno
deno run --unstable-otel
Deno
OpenTelemetry
Learn how to implement observability in Deno applications using OpenTelemetry. Covers tracing, metrics collection, and integration with monitoring systems.
Deno Blog
Zero-config Debugging with Deno and OpenTelemetry
Debugging requires implementation to get the right data for you to resolve issues quickly. Here's how you can use Deno to capture necessary telemetry data without any additional work.
I succeed in sending something to axiom.co by adding
--strace-ops --log-level=debug
& OTEL_EXPORTER_OTLP_ENDPOINT=https://api.axiom.co
it is a good start
I refine the setup
deno.jsonc
server.ts
Thanks @foobar , I also got to know that deno.json can be renamed to
deno.jsonc
It works. Thanks a ton!