Integrate MCPcat with your Datadog observability stack
datadoghq.com
for US, datadoghq.eu
for EU)Field | Type | Required | Description |
---|---|---|---|
api_key / apiKey | string | Yes | Your Datadog API key |
site | string | Yes | Datadog site (e.g., “datadoghq.com”, “datadoghq.eu”) |
service | string | Yes | Service name for grouping |
env | string | No | Environment name (default: “production”) |
MCPcat Field | Datadog Field | Format |
---|---|---|
session_id | trace_id | Numeric - last 64 bits of SHA256 hash |
event_id | span_id | Numeric - SHA256 hash |
Field | Value | Description |
---|---|---|
message | "{event_type} - {resource_name}" | Combined event type and resource (e.g., “tools/call - get_weather”) |
service | Your configured service name | From exporter configuration |
ddsource | "mcpcat" | Fixed source identifier |
ddtags | Comma-separated string | Includes env , event_type , resource , and error tags |
timestamp | Unix timestamp in milliseconds | Event occurrence time |
status | "error" or "info" | Based on is_error flag |
mcp
object:
Field | Description |
---|---|
mcp.session_id | Session identifier |
mcp.event_id | Event identifier |
mcp.event_type | Event type (e.g., “tools/call”) |
mcp.resource | Resource name |
mcp.duration_ms | Duration in milliseconds |
mcp.user_intent | User’s intent (if captured) |
mcp.actor_id | User identifier (if identified) |
mcp.actor_name | User name (if identified) |
mcp.client_name | MCP client name |
mcp.client_version | MCP client version |
mcp.server_name | Server name |
mcp.server_version | Server version |
mcp.is_error | Error flag (boolean) |
mcp.error | Error details (if applicable) |
Metric Name | Type | Description |
---|---|---|
mcp.events.count | count | Total number of events |
mcp.event.duration | gauge | Event duration in milliseconds |
mcp.errors.count | count | Number of error events |
Tag | Example Value | Source |
---|---|---|
service | "my-mcp-server" | Exporter configuration |
env | "production" | Exporter configuration |
event_type | "tools.call" | Event type (slashes replaced with dots) |
resource | "get_weather" | Resource name |