OK
List of Fluent-bit plugin IDs ar aliases to trace.
For how long will this session be active and process records.
"10m"
const response = await fetch('https://cloud-api.calyptia.com/v1/pipelines/{pipelineID}/trace_session', { method: 'GET', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
{ "id": "123e4567-e89b-12d3-a456-426614174000", "pipelineID": "123e4567-e89b-12d3-a456-426614174000", "plugins": [ "dummy.0" ], "lifespan": "10m", "createdAt": "2024-10-06T18:03:54.006Z", "updatedAt": "2024-10-06T18:03:54.006Z" }
const response = await fetch('https://cloud-api.calyptia.com/v1/pipelines/{pipelineID}/trace_session', { method: 'DELETE', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
{ "id": "123e4567-e89b-12d3-a456-426614174000", "lifespan": "10m", "updatedAt": "2024-10-06T18:03:54.006Z" }