• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / toolhive / 21884878574

10 Feb 2026 10:28PM UTC coverage: 61.452% (+0.02%) from 61.431%
21884878574

push

github

web-flow
Add `mcp.server.operation.duration` metric per OTEL MCP semantic conventions (#3752)

Add mcp.server.operation.duration metric per OTEL MCP semantic conventions

Implement the mcp.server.operation.duration histogram metric as defined
by the OTEL MCP semantic conventions. This records operation latency with
spec-defined attributes (mcp.method.name, gen_ai.tool.name,
gen_ai.operation.name, gen_ai.prompt.name, jsonrpc.protocol.version,
network.transport, network.protocol.name, network.protocol.version,
error.type) alongside existing custom toolhive_mcp_* metrics.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

42 of 44 new or added lines in 1 file covered. (95.45%)

12 existing lines in 4 files now uncovered.

42561 of 69259 relevant lines covered (61.45%)

76.82 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

79.58
/pkg/transport/proxy/httpsse/http_proxy.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc