Metrics over time by plugin

Agent metrics over time organized by plugin

get
Authorizations
Path parameters
agentIDstring · uuidRequired
Query parameters
startstring · durationOptional

Option to filter metrics since the given time ago

Default: -24h
intervalstring · durationOptional

Option to set the time window to group metrics

Default: 1h
Responses
200
OK
application/json
get
GET /v2/agents/{agentID}/metrics_over_time_by_plugin HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "inputs": [
    {
      "instance": "storage_backlog.3",
      "metrics": {
        "bytes": [
          {
            "time": "2025-06-28T03:12:12.951Z",
            "value": 1
          }
        ],
        "records": [
          {
            "time": "2025-06-28T03:12:12.951Z",
            "value": 1
          }
        ]
      }
    }
  ],
  "filters": [
    {
      "instance": "storage_backlog.3",
      "metrics": {
        "bytes": [
          {
            "time": "2025-06-28T03:12:12.951Z",
            "value": 1
          }
        ],
        "records": [
          {
            "time": "2025-06-28T03:12:12.951Z",
            "value": 1
          }
        ]
      }
    }
  ],
  "outputs": [
    {
      "instance": "storage_backlog.3",
      "metrics": {
        "bytes": [
          {
            "time": "2025-06-28T03:12:12.951Z",
            "value": 1
          }
        ],
        "records": [
          {
            "time": "2025-06-28T03:12:12.951Z",
            "value": 1
          }
        ]
      }
    }
  ]
}