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

stacklok / toolhive / 21835073589
62%

Build:
DEFAULT BRANCH: main
Ran 09 Feb 2026 05:55PM UTC
Jobs 1
Files 518
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Feb 2026 05:47PM UTC coverage: 61.379% (+0.02%) from 61.361%
21835073589

push

github

web-flow
chore(vMCP): Add tool call labels to vMCP telemetry metrics (#3687)

* Add MCP parsing middleware to vMCP and enrich backend metric labels

Wire mcp.ParsingMiddleware into the vMCP server middleware chain so the
telemetry middleware can label incoming request metrics with the actual
mcp_method (e.g. "tools/call", "initialize") instead of "unknown".

Add tool_name and prompt_name attributes to backend telemetry spans and
metrics for finer-grained observability on outgoing backend calls.

Add TestIntegration_TelemetryMiddleware covering incoming request
counters, backend call metrics, custom resource attributes, and
mcp_method label propagation.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Add mcp_resource_id label to telemetry middleware request metrics

Enrich the common metric attributes on toolhive_mcp_requests and
toolhive_mcp_request_duration with mcp_resource_id, which surfaces the
tool name (tools/call), resource URI (resources/read), or prompt name
(prompts/get) from the already-parsed MCP request context.

Update unit and integration tests to assert the new label, and extract
repeated string literals into constants to satisfy goconst.


---------

Co-authored-by: Cursor <cursoragent@cursor.com>

10 of 11 new or added lines in 3 files covered. (90.91%)

6 existing lines in 2 files now uncovered.

42367 of 69025 relevant lines covered (61.38%)

78.14 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
76.43
1.59% pkg/vmcp/server/telemetry.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
54.0
-2.0% pkg/networking/port.go
4
53.86
-0.39% pkg/workloads/manager.go
Jobs
ID Job ID Ran Files Coverage
1 21835073589.1 09 Feb 2026 05:55PM UTC 518
61.38
GitHub Action Run
Source Files on build 21835073589
  • Tree
  • List 518
  • Changed 7
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21835073589
  • 84bec9a3 on github
  • Prev Build on main (#21831437508)
  • Next Build on main (#21836592519)
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