Metrics over time by plugin

Core instance metrics over time organized by plugin

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

OK

Body
inputs*array of MetricsOverTimeByPluginInput (object)
filters*array of MetricsOverTimeByPluginFilter (object)
outputs*array of MetricsOverTimeByPluginOutput (object)
Request
const response = await fetch('https://cloud-api.calyptia.com/v2/core_instances/{coreInstanceID}/metrics_over_time_by_plugin', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer <token>"
    },
});
const data = await response.json();
Response
{
  "inputs": [
    {
      "instance": "storage_backlog.3",
      "metrics": {
        "bytes": [
          {
            "time": "2024-10-16T08:47:04.847Z",
            "value": 0
          }
        ],
        "records": [
          {
            "time": "2024-10-16T08:47:04.847Z",
            "value": 0
          }
        ]
      }
    }
  ],
  "filters": [
    {
      "instance": "storage_backlog.3",
      "metrics": {
        "bytes": [
          {
            "time": "2024-10-16T08:47:04.847Z",
            "value": 0
          }
        ],
        "records": [
          {
            "time": "2024-10-16T08:47:04.847Z",
            "value": 0
          }
        ]
      }
    }
  ],
  "outputs": [
    {
      "instance": "storage_backlog.3",
      "metrics": {
        "bytes": [
          {
            "time": "2024-10-16T08:47:04.847Z",
            "value": 0
          }
        ],
        "records": [
          {
            "time": "2024-10-16T08:47:04.847Z",
            "value": 0
          }
        ]
      }
    }
  ]
}