runtime endpoint metrics
Fetch an endpoint's metrics.
Description
Fetch CPU/memory metrics for an endpoint over a time range
(GET /agent-runtimes/{id}/endpoints/{endpointId}/metrics with
?fromTimestamp=&toTimestamp=). Returns CPU (double) and memory-bytes (long)
sample series.
Synopsis
Arguments
<id> / <endpoint-id> — runtime / endpoint ids. Both required.
Options
--from (string) — fromTimestamp (RFC3339).
--to (string) — toTimestamp (RFC3339).
Examples
Global options
All grn agentbase commands accept:
-o, --output json|table|id— output format (defaulttable)-i, --interactive— prompt for missing required parameters- The shared
grnglobal options:--profile,--region,--query,--endpoint-url,--debug