Skip to content

OpenTelemetry exporter for traces and metrics #595

Description

@keysersoft

Everything needed is already recorded — tool call, duration, status, upstream response — it just cannot leave the box in a standard format.

Scope

  • OTLP exporter behind OTEL_EXPORTER_OTLP_ENDPOINT, off when unset.
  • One span per MCP tool call, with a child span for the upstream request.
  • Attributes: connector, tool, MCP server, org, status, upstream status code. No parameter values and no response bodies — this is a product whose pitch is that data does not leave your network, and a trace exporter is an easy way to break that promise by accident.
  • Metrics: call count, duration histogram, error count, by tool.

Good issue for someone who has wired OTel into a NestJS app before.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededroadmapOn the published roadmap; exempt from the stale bot

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions