DenoDDeno
Powered by
Mrcool πŸ‡΅πŸ‡ΈM
Denoβ€’6mo agoβ€’
6 replies
Mrcool πŸ‡΅πŸ‡Έ

send otel data to grafana cloud endpoint directly

If I follow the getting started guide, it tells me to use

OTEL_TRACES_EXPORTER="otlp" \
OTEL_EXPORTER_OTLP_ENDPOINT="https://otlp-gateway-prod-eu-west-2.grafana.net/otlp" \
OTEL_EXPORTER_OTLP_HEADERS="Authorization=Basic <key redacted>"\
OTEL_RESOURCE_ATTRIBUTES="service.name=my-app,service.namespace=my-application-group,deployment.environment=production" \
OTEL_NODE_RESOURCE_DETECTORS="env,host,os" \
NODE_OPTIONS="--require @opentelemetry/auto-instrumentations-node/register" \
node <my-app>.js
OTEL_TRACES_EXPORTER="otlp" \
OTEL_EXPORTER_OTLP_ENDPOINT="https://otlp-gateway-prod-eu-west-2.grafana.net/otlp" \
OTEL_EXPORTER_OTLP_HEADERS="Authorization=Basic <key redacted>"\
OTEL_RESOURCE_ATTRIBUTES="service.name=my-app,service.namespace=my-application-group,deployment.environment=production" \
OTEL_NODE_RESOURCE_DETECTORS="env,host,os" \
NODE_OPTIONS="--require @opentelemetry/auto-instrumentations-node/register" \
node <my-app>.js


I just add OTEL_DENO=true and switch node to deno,
But still I can't see the traces

If I self host grafana server it just works with OTEL_DENO=true
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

OTEL not exporting to external server
Maarten Bicknese πŸ‡³πŸ‡±MMaarten Bicknese πŸ‡³πŸ‡± / help
9mo ago
How to send data from a child component to its sibling?
OokerOOoker / help
3y ago
OTEL context propagation with queues
svenemtellSsvenemtell / help
5mo ago
Workaround for deno with otel not exiting?
TrickedTTricked / help
9mo ago