Aggregator metrics

Aggregator metrics

GEThttps://cloud-api.calyptia.com/v1/aggregator_metrics/{aggregatorID}
Authorization
Path parameters
aggregatorID*string (uuid)
Query parameters
Response

OK

Headers
Body
measurements*object
Request
const response = await fetch('https://cloud-api.calyptia.com/v1/aggregator_metrics/{aggregatorID}', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer <token>"
    },
});
const data = await response.json();
Response
{
  "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
          }
        ]
      }
    }
  }
}