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

stacklok / toolhive / 20041675862 / 1
60%
main: 60%

Build:
DEFAULT BRANCH: main
Ran 08 Dec 2025 08:28PM UTC
Files 395
Run time 14s
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

08 Dec 2025 08:22PM UTC coverage: 49.463% (-0.2%) from 49.649%
20041675862.1

push

github

web-flow
Instrument vMCP and Document o11y Configuration (#2906)

This PR adds metrics and distributed tracing to the Virtual MCP Server (vMCP), providing visibility into backend calls and composite workflow executions.

Implementation

Add telemetry.go with decorator pattern for instrumenting backend clients and workflow executors
Instrument the vMCP server with the existing telemetry middleware.
Emit metrics for backend requests (request count, errors, duration) and workflow executions
Create distributed tracing spans for backend operations and workflow executions
Plumb telemetry configuration from VirtualMCPServer CRD to the vMCP server
Metrics Emitted
toolhive_vmcp_backends_discovered - Number of backends discovered
toolhive_vmcp_backend_requests - Request count per backend
toolhive_vmcp_backend_errors - Error count per backend
toolhive_vmcp_backend_requests_duration - Request duration histogram
toolhive_vmcp_workflow_executionsl - Workflow execution count
toolhive_vmcp_workflow_errors - Workflow error count
toolhive_vmcp_workflow_duration - Workflow duration histogram

documentation and test for e2e emission.
---------

Signed-off-by: Jeremy Drouillard <jeremy@stacklok.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jerm-dro <10532181+jerm-dro@users.noreply.github.com>
Co-authored-by: Jakub Hrozek <jakub.hrozek@posteo.se>

26449 of 53472 relevant lines covered (49.46%)

58.14 hits per line

Source Files on job 20041675862.1
  • Tree
  • List 395
  • Changed 11
  • Source Changed 10
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20041675862
  • 155ba42a on github
  • Prev Job for on main (#20038516308.1)
  • Next Job for on main (#20042998234.1)
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