/v2/pipelines/{pipelineID}/metrics_over_time_by_plugin
Option to filter metrics since the given time ago
Option to set the time window to group metrics
OK
curl -L \ --url 'https://cloud-api.calyptia.com/v2/pipelines/{pipelineID}/metrics_over_time_by_plugin' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "inputs": [ { "instance": "storage_backlog.3", "metrics": { "bytes": [ { "time": "2025-02-09T21:52:18.020Z", "value": null } ], "records": [ { "time": "2025-02-09T21:52:18.020Z", "value": null } ] } } ], "filters": [ { "instance": "storage_backlog.3", "metrics": { "bytes": [ { "time": "2025-02-09T21:52:18.020Z", "value": null } ], "records": [ { "time": "2025-02-09T21:52:18.020Z", "value": null } ] } } ], "outputs": [ { "instance": "storage_backlog.3", "metrics": { "bytes": [ { "time": "2025-02-09T21:52:18.020Z", "value": null } ], "records": [ { "time": "2025-02-09T21:52:18.020Z", "value": null } ] } } ] }