Metrics by plugin

Pipeline metrics by plugin.

GEThttps://cloud-api.calyptia.com/v2/pipelines/{pipelineID}/metrics_by_plugin
Authorization
Path parameters
pipelineID*string (uuid)
Query parameters
Response

OK

Body
inputsarray of object
outputsarray of object
filtersarray of object
Request
const response = await fetch('https://cloud-api.calyptia.com/v2/pipelines/{pipelineID}/metrics_by_plugin', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer <token>"
    },
});
const data = await response.json();
Response
{
    "inputs": [
        {
            "instance": "storage_backlog.3",
            "metrics": {
                "bytes": 0,
                "records": 0
            }
        }
    ],
    "outputs": [
        {
            "instance": "stdout.0",
            "metrics": {
                "bytes": 5811996,
                "records": 25697,
                "errors": 0,
                "retries": 0,
                "retriedRecords": 0,
                "retriesFailed": 0,
                "droppedRecords": 0,
                "loads": 0
            }
        }
    ],
    "filters": [
        {
            "instance": "filter.3",
            "metrics": {
                "dropRecords": 0,
                "emitRecords": 0
            }
        }
    ]
}