Skip to content

test

POST
/telemetry/pipelines/test
curl --request POST \
--url https://api.siteqwality.com/telemetry/pipelines/test \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "pipeline": { "signal": "logs", "name": "example", "enabled": true, "position": 1, "filter": "example", "processors": [ "example" ] }, "samples": [ "example" ], "recent": { "from": "example", "to": "example" } }'
Media type application/json
object
pipeline
required
object
signal
required

A telemetry signal, as the authorizer scopes and meters it.

string
Allowed values: logs traces metrics
name
required
string
enabled
required
boolean
position
required
integer format: int32
filter
required
string
processors
required

Typed processor objects; unknown kinds and fields are rejected on save.

Array
samples

At most 100 bounded records, with signal, id, timestamp_ns, body, fields, attributes, resource.

Array
recent
One of:

When present, preview the last 100 matching stored logs or spans in this window.

object
from
required
string
to
required
string

OK

Media type application/json
object
results
required
Array
Example generated
{
"results": [
"example"
]
}

Invalid pipeline or samples

Admin required