Skip to content

[feature]: Integrate OpenTelemetry Metrics and Traces with Honeycomb #229

@Jharmony

Description

@Jharmony

OpenTelemetry instrumentation to export metrics (and optionally traces) to Honeycomb for observability.

Tasks

  • Add OpenTelemetry JS SDK and OTLP HTTP exporter dependencies.
  • Configure metrics exporter to use:
    • OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=https://api.honeycomb.io/v1/metrics
    • x-honeycomb-team header for API key.
  • (Optional) Configure traces exporter to use:
    • OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=https://api.honeycomb.io/v1/traces
  • Add basic metrics (HTTP request count, latency, error count).
  • (Optional) Add traces for key user flows.
  • Add environment variable documentation to README.
  • Test and verify data in Honeycomb.

References

Notes

  • Prefer HTTP/Protobuf for compatibility.
  • Use environment variables for endpoint and API key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions