McpIncubatingMetrics
in
Metrics for mcp.
May contain @experimental Semantic Conventions which may change or be removed in the future.
Table of Contents
Constants
- MCP_CLIENT_OPERATION_DURATION = 'mcp.client.operation.duration'
- The duration of the MCP request or notification as observed on the sender from the time it was sent until the response or ack is received.
- MCP_CLIENT_SESSION_DURATION = 'mcp.client.session.duration'
- The duration of the MCP session as observed on the MCP client.
- MCP_SERVER_OPERATION_DURATION = 'mcp.server.operation.duration'
- MCP request or notification duration as observed on the receiver from the time it was received until the result or ack is sent.
- MCP_SERVER_SESSION_DURATION = 'mcp.server.session.duration'
- The duration of the MCP session as observed on the MCP server.
Constants
MCP_CLIENT_OPERATION_DURATION
The duration of the MCP request or notification as observed on the sender from the time it was sent until the response or ack is received.
public
mixed
MCP_CLIENT_OPERATION_DURATION
= 'mcp.client.operation.duration'
Instrument: histogram Unit: s
Tags
MCP_CLIENT_SESSION_DURATION
The duration of the MCP session as observed on the MCP client.
public
mixed
MCP_CLIENT_SESSION_DURATION
= 'mcp.client.session.duration'
Instrument: histogram Unit: s
Tags
MCP_SERVER_OPERATION_DURATION
MCP request or notification duration as observed on the receiver from the time it was received until the result or ack is sent.
public
mixed
MCP_SERVER_OPERATION_DURATION
= 'mcp.server.operation.duration'
Instrument: histogram Unit: s
Tags
MCP_SERVER_SESSION_DURATION
The duration of the MCP session as observed on the MCP server.
public
mixed
MCP_SERVER_SESSION_DURATION
= 'mcp.server.session.duration'
Instrument: histogram Unit: s