Express app that sends traces, metrics, and logs to Microsoft Fabric Real-Time Intelligence (or Azure Data Explorer) via an OpenTelemetry Collector.
Edit collector-config.yaml — replace <your-cluster> and <yourdbname> with your values.
# Download otelcol-contrib from
# https://github.com/open-telemetry/opentelemetry-collector-releases/releases
az login
otelcol-contrib --config collector-config.yamlIn a second terminal:
npm install
npm startOr run directly:
npm install
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318 node --import @microsoft/opentelemetry/loader app.mjscurl http://localhost:3000/
curl http://localhost:3000/weatherIn the ADX web UI:
OTELTraces | take 10
OTELLogs | take 10
OTELMetrics | take 10See docs/fabric-getting-started.md for table creation, permissions, authentication options, and deployment guidance.