Metrics

Core instance metrics

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

OK

Body
inputInputMetrics (object)
outputOutputMetrics (object)
filterFilterMetrics (object)
Request
const response = await fetch('https://cloud-api.calyptia.com/v2/core_instances/{coreInstanceID}/metrics', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer <token>"
    },
});
const data = await response.json();
Response
{
  "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
    }
  }
}