Option to filter metrics since the given time ago
-24h
Option to set the time window to group metrics
1h
GET /v1/aggregator_metrics/{aggregatorID} HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"measurements": {
"fluentbit_filter": {
"metrics": {
"drop_records": [
{
"time": "2022-02-07T11:00:00Z",
"value": 0
},
{
"time": "2022-02-07T12:00:00Z",
"value": 0
},
{
"time": "2022-02-07T12:55:20.003028413Z",
"value": 119
}
],
"emit_records": [
{
"time": "2022-02-07T11:00:00Z",
"value": 0
},
{
"time": "2022-02-07T12:00:00Z",
"value": 0
},
{
"time": "2022-02-07T12:55:20.003028413Z",
"value": 119
}
]
},
"totals": {
"drop_records": [
{
"time": "2022-02-07T12:55:04.78743322Z",
"value": 119
}
],
"emit_records": [
{
"time": "2022-02-07T12:55:04.787434277Z",
"value": 119
}
]
}
},
"fluentbit_input": {
"metrics": {
"bytes": [
{
"time": "2022-02-07T11:00:00Z",
"value": 0
},
{
"time": "2022-02-07T12:00:00Z",
"value": 0
},
{
"time": "2022-02-07T12:55:20.029124832Z",
"value": 4760
}
],
"records": [
{
"time": "2022-02-07T11:00:00Z",
"value": 0
},
{
"time": "2022-02-07T12:00:00Z",
"value": 0
},
{
"time": "2022-02-07T12:55:20.029124832Z",
"value": 119
}
]
},
"totals": {
"bytes": [
{
"time": "2022-02-07T12:55:04.787450155Z",
"value": 4760
}
],
"records": [
{
"time": "2022-02-07T12:55:04.787450155Z",
"value": 119
}
]
}
},
"fluentbit_output": {
"metrics": {
"bytes": [
{
"time": "2022-02-07T11:00:00Z",
"value": 0
},
{
"time": "2022-02-07T12:00:00Z",
"value": 0
},
{
"time": "2022-02-07T12:55:20.059227599Z",
"value": 4560
}
],
"records": [
{
"time": "2022-02-07T11:00:00Z",
"value": 0
},
{
"time": "2022-02-07T12:00:00Z",
"value": 0
},
{
"time": "2022-02-07T12:55:20.059227599Z",
"value": 114
}
]
},
"totals": {
"bytes": [
{
"time": "2022-02-07T12:55:00.785234434Z",
"value": 4560
}
],
"records": [
{
"time": "2022-02-07T12:55:00.785234434Z",
"value": 114
}
]
}
}
}
}