Skip to main content
Glama

Get CPU, memory and network use of a deployment

edgegap_get_deployment_metrics
Read-only

Summarise a deployment's resource use over time: CPU, CPU throttling, memory and network, each as latest, average and peak, with the API's own labels.

Instructions

Summarise a deployment's resource use over time: CPU, CPU throttling, memory and network, each as latest, average and peak, with the API's own labels. Use it to size a version (cpu_units, memory_mb) from a real match, or to check whether a crash was memory or CPU starvation before redeploying. Defaults to the whole life of the deployment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepNoAveraging step, e.g. "30s" or "5m". Default: the API's.
end_timeNoISO 8601. Default: now, or when it stopped.
request_idYesThe request_id of the deployment.
start_timeNoISO 8601. Default: when the deployment started.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.1

TDQS

Score is being calculated.