Instrument bazar-studio with OpenTelemetry to export metrics and traces to Honeycomb.
Tasks
- Add OpenTelemetry JS SDK and HTTP exporter dependencies.
- Configure metrics exporter with:
OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=https://api.honeycomb.io/v1/metrics
x-honeycomb-team header for API key.
- (Optional) Configure traces exporter with:
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=https://api.honeycomb.io/v1/traces
- Add basic application metrics (e.g., page load, API call counts).
- (Optional) Add traces for user interactions.
- Update README with setup instructions.
- Test and confirm metrics/traces in Honeycomb.
References
Notes
- Use HTTP/Protobuf for best compatibility.
- Document all new environment variables.
Instrument bazar-studio with OpenTelemetry to export metrics and traces to Honeycomb.
Tasks
OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=https://api.honeycomb.io/v1/metricsx-honeycomb-teamheader for API key.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=https://api.honeycomb.io/v1/tracesReferences
Notes