Skip to content

[feature]: Add OpenTelemetry Metrics and Traces Export to Honeycomb #76

@Jharmony

Description

@Jharmony

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions