Contains an overview of the aggregated metrics for an agent. It includes metrics link the amount of records, bytes, and errors per plugin.
-24h
1h
Agent metrics model.
GET /v1/agents/{agentID}/metrics HTTP/1.1 Host: cloud-api.calyptia.com Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
OK
{ "measurements": { "ANY_ADDITIONAL_PROPERTY": { "plugins": { "ANY_ADDITIONAL_PROPERTY": { "metrics": { "ANY_ADDITIONAL_PROPERTY": [ { "time": "2025-05-15T00:49:13.010Z", "value": 1 } ] } } }, "totals": { "ANY_ADDITIONAL_PROPERTY": [ { "time": "2025-05-15T00:49:13.010Z", "value": 1 } ] } } } }
Option to filter metrics since the given time ago
{ "input": { "bytes": 0, "records": 0 } }, "outputs": { "bytes": 0, "records": 0, "errors": 0, "retries": 0, "retriedRecords": 0, "retriesFailed": 0, "droppedRecords": 0, "loads": 0 } }, "filters": { "dropRecords": 0, "emitRecords": 0 } } }
GET /v2/agents/{agentID}/metrics HTTP/1.1 Host: cloud-api.calyptia.com Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*