github chrisdoc/hevy-mcp v1.26.0

latest releases: v1.28.0, v1.26.6, v1.26.5...
one day ago

Minor Changes

  • #443 178a1f9 Thanks @chrisdoc! - Add OpenTelemetry instrumentation with dual export to Sentry and an
    OTel Collector (forwarding to Honeycomb and other backends).

    • New src/utils/telemetry.ts initializes OpenTelemetry with a custom
      tracer provider that has dual span processors: SentrySpanProcessor
      for Sentry (errors + traces) and BatchSpanProcessor with
      OTLPTraceExporter routed through our own OTel Collector, which
      forwards traces and metrics to Honeycomb and other backends.
    • New src/utils/metrics.ts defines metric instruments (counters and
      histograms) for tool invocations, errors, duration, API calls, API
      latency, stdio parse errors, and server startups.
    • Migrated all Sentry.startSpan() calls to the OpenTelemetry API
      (tracer.startActiveSpan()) for vendor-neutral span creation.
      Spans are still exported to Sentry via the SentrySpanProcessor.
    • Added axios interceptors to hevyClientKubb.ts for automatic HTTP
      tracing and metrics recording on every Hevy API call.
    • The collector endpoint and auth token are injected at build time
      from the OTEL_COLLECTOR_ENDPOINT and OTEL_COLLECTOR_TOKEN
      GitHub secrets via tsdown.config.ts define. Traces and metrics
      are sent to the OTel Collector, which forwards them to Honeycomb
      and other observability backends.
    • Sentry remains the error monitoring backend (captureException,
      setUser, withScope, wrapMcpServerWithSentry).

Don't miss a new hevy-mcp release

NewReleases is sending notifications on new releases.