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

MetricTypeMeasures
mcp_tool_calls_totalCounterTool calls through the MCP Gateway
mcp_tool_call_duration_secondsHistogramTool call duration
mcp_request_size_bytesHistogramTool call argument size
mcp_response_size_bytesHistogramTool call result size
mcp_server_deployment_statusGaugeState 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.