MCP Metrics
Track tool calls through the MCP Gateway and the state of self-hosted MCP servers. See Labels for request and agent dimensions.
Metrics
| Metric | Type | Measures |
|---|---|---|
mcp_tool_calls_total | Counter | Tool calls through the MCP Gateway |
mcp_tool_call_duration_seconds | Histogram | Tool call duration |
mcp_request_size_bytes | Histogram | Tool call argument size |
mcp_response_size_bytes | Histogram | Tool call result size |
mcp_server_deployment_status | Gauge | State of each self-hosted MCP server, by server_name and state |
mcp_server_deployment_status is 1 for the server's current state: not_created, pending, running, failed, succeeded, hibernated, or waking. count(mcp_server_deployment_status{state="running"} == 1) counts running servers.