You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@flagon.apache.org by "brucearctor (via GitHub)" <gi...@apache.org> on 2026/10/11 15:44:14 UTC
[PR] docs(userale): OpenTelemetry + Grafana/Loki/Tempo demo stack and auth/OTLP documentation (flagon)
brucearctor opened a new pull request, #186:
URL: https://github.com/apache/flagon/pull/186
## Summary
Adds the full-stack OpenTelemetry Collector + Grafana/Loki/Tempo Docker Compose demo (`example/otel-demo/`) and updates the UserALE.js documentation for API key authentication, CORS preflight requirements, WebSocket limitations, and OpenTelemetry / Protobuf exporters:
- **Full-Stack OpenTelemetry Demo (`products/userale/example/otel-demo/`, Closes #141)**:
- `docker-compose.yml`: Zero-build stack with `otel/opentelemetry-collector-contrib`, `grafana/loki` (with native `/otlp` structured metadata ingestion), `grafana/tempo`, and `grafana/grafana`.
- `otel-collector-config.yaml`: Configured with browser `cors` (`Content-Type`, `Authorization`, `x-api-key`, `traceparent`, `tracestate`) and an OTTL (`transform/flagon`) processor recipe.
- Pre-provisioned Grafana Loki & Tempo datasources with `TraceID` derived field links and the **"Apache Flagon UserALE — Behavioral Telemetry & Trace Correlation"** dashboard (`userale-overview.json`).
- Interactive demo page (`index.html`) demonstrating both standard DOM interaction logging over OTLP/JSON and W3C TraceContext (`traceId`/`spanId`) click-to-trace correlation.
- **Example Server OTLP & CORS Support (`products/userale/example/server/server.js`)**:
- Adds `x-api-key`, `traceparent`, and `tracestate` to `Access-Control-Allow-Headers` and accepts POSTs on `/v1/logs`.
- **Documentation (`products/userale/packages/flagon-userale/README.md`, Closes #134, Closes #101, Closes #102)**:
- Documents `apiKey` / `data-api-key`, `authHeader` / `registerAuthCallback`, `headers` / `registerHeadersCallback`, CORS preflight headers, and browser `WebSocket` authentication limitations (#134).
- Documents `exporterType` (`'http-json'`, `'otlp'`, `'proto-json'`, `'websocket'`), `otlpEndpoint` / `data-otlp-endpoint`, `traceContext`, and `OtelSdkExporter` (#101, #102).
Closes #141
Closes #134
Closes #101
Closes #102
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@flagon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@flagon.apache.org
For additional commands, e-mail: pr-help@flagon.apache.org
Re: [PR] docs(userale): OpenTelemetry + Grafana/Loki/Tempo demo stack and auth/OTLP documentation (flagon)
Posted by "brucearctor (via GitHub)" <gi...@apache.org>.
brucearctor merged PR #186:
URL: https://github.com/apache/flagon/pull/186
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@flagon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@flagon.apache.org
For additional commands, e-mail: pr-help@flagon.apache.org