Skip to content

deployment_metrics_get

Get metric time series for a service or managed service over a fixed window (15m/1h/6h/24h/7d).

Tool

deployment_metrics_get

Get metric time series for a service or managed service over a fixed window (15m/1h/6h/24h/7d).

Get metric time series for a service or managed service over a fixed window (15m/1h/6h/24h/7d). Services return resource metrics (cpu, memory, net_in, net_out) plus HTTP metrics (rps, p50, p95, p99, error_rate); managed services return cpu, memory, net_in, net_out, disk.

Behavior

HTTP
GET /deployment/metrics

Arguments

Name
Type
Required
Description
window
string
—
No description in the catalog.
targetId
string
•
No description in the catalog.
targetKind
string
•
No description in the catalog.

Response

Field
Type
Always
Description
series
array
•
window
string
•
capacity
object
•
targetId
string
•
targetKind
string
•
stepSeconds
number
•

Try it

Get metric time series for a service or managed service over a fixed window (15m/1h/6h/24h/7d).

When to use

Get metric time series for a service or managed service over a fixed window (15m/1h/6h/24h/7d). Services return resource metrics (cpu, memory, net_in, net_out) plus HTTP metrics (rps, p50, p95, p99, error_rate); managed services return cpu, memory, net_in, net_out, disk.

Example

Ask your agent something like this:

Get metric time series for a service or managed service over a fixed window (15m/1h/6h/24h/7d).

The agent will invoke deployment_metrics_get with these arguments:

{
  "targetId": "<targetId>",
  "targetKind": "<targetKind>"
}

Esc

Start typing to search the docs.

↑↓navigate↵select