Mrcool πŸ‡΅πŸ‡ΈM
Denoβ€’4mo 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


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
Was this page helpful?