Metrics over time

Core instance metrics over time

GEThttps://cloud-api.calyptia.com/v2/core_instances/{coreInstanceID}/metrics_over_time
Authorization
Path parameters
coreInstanceID*string (uuid)
Query parameters
Response

OK

Body
input*MetricsOverTimeInput (object)
filter*MetricsOverTimeFilter (object)
output*MetricsOverTimeOutput (object)
Request
const response = await fetch('https://cloud-api.calyptia.com/v2/core_instances/{coreInstanceID}/metrics_over_time', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer <token>"
    },
});
const data = await response.json();
Response
{
  "input": {
    "bytes": [
      {
        "time": "2024-05-19T05:34:24.897Z",
        "value": 0
      }
    ],
    "records": [
      {
        "time": "2024-05-19T05:34:24.897Z",
        "value": 0
      }
    ]
  },
  "filter": {
    "dropRecords": [
      {
        "time": "2024-05-19T05:34:24.897Z",
        "value": 0
      }
    ],
    "emitRecords": [
      {
        "time": "2024-05-19T05:34:24.897Z",
        "value": 0
      }
    ]
  },
  "output": {
    "bytes": [
      {
        "time": "2024-05-19T05:34:24.897Z",
        "value": 0
      }
    ],
    "records": [
      {
        "time": "2024-05-19T05:34:24.897Z",
        "value": 0
      }
    ],
    "errors": [
      {
        "time": "2024-05-19T05:34:24.897Z",
        "value": 0
      }
    ],
    "retries": [
      {
        "time": "2024-05-19T05:34:24.897Z",
        "value": 0
      }
    ],
    "retriedRecords": [
      {
        "time": "2024-05-19T05:34:24.897Z",
        "value": 0
      }
    ],
    "retriesFailed": [
      {
        "time": "2024-05-19T05:34:24.897Z",
        "value": 0
      }
    ],
    "droppedRecords": [
      {
        "time": "2024-05-19T05:34:24.897Z",
        "value": 0
      }
    ],
    "loads": [
      {
        "time": "2024-05-19T05:34:24.897Z",
        "value": 0
      }
    ]
  }
}

Last updated