Analyze cloud network monitoringDATADOG_MCP_ANALYZE_CLOUD_NETWORK_MONITORING
Queries Cloud Network Monitoring (CNM) data to view network/transport level information. Use to investigate netork latency, packet loss, TCP failed connections, dial timeouts, or spikes in TCP throughput.
Each query accepts a 'scope' field to select which slice of CNM data to query:
- 'tcp' (default): service-to-service L4/TCP flows. Use for investigating connection errors between workloads.
- 'tcp-eudm': endpoint/device-centric L4 flows. Use for investigating networking issues originating from end-user devices rather than between services.
Scenario 1: clearsky is encountering "failed to connect" errors. Find the unhealthy pods:
```json
{
"from": "now-1h",
"queries": [
{"client_tags": ["service:clearsky"], "client_group_by": "pod_name", "order_by": "retransmits"},
{"client_tags": ["service:clearsky"], "client_group_by": "pod_name", "order_by": "tcp_failed_conns"}
]
}
```
Scenario 2: Cloud storage is rate-limiting clients with HTTP 429. View which services are pulling too much data:
```json
{
"from": "now-1h",
"group_limit": 100,
"time_buckets": 1,
"queries": [
{"server_tags": ["service:aws.s3"], "client_group_by": "service", "order_by": "bytes_server_to_client"},
{"server_tags": ["service:gcp.storage"], "client_group_by": "service", "order_by": "bytes_server_to_client"}
]
}
```
Scenario 3: An end-user device reports slow/failing connections. Investigate the destinations it is reaching using EUDM data:
```json
{
"from": "now-1h",
"queries": [
{"scope": "tcp-eudm", "client_tags": "host:i-abc123", "server_group_by": "service", "order_by": "tcp_failed_conns"},
{"scope": "tcp-eudm", "client_tags": "host:i-abc123", "server_group_by": "service", "order_by": "retransmits"}
]
}
```