Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Configuration

CLI Flags

FlagDefaultDescription
--tinybird-batch-size50Number of test records to buffer before sending a batch.
--tinybird-disablefalseDisable the plugin entirely.
--tinybird-file(none)Write NDJSON metrics to a local file instead of sending over HTTP.

Environment Variables

VariableRequiredDefaultDescription
TINYBIRD_WRITE_TOKENNo(none)Tinybird auth token. When set, the plugin sends metrics over HTTP.
TINYBIRD_API_URLNohttps://api.tinybird.coTinybird API base URL. Only used when TINYBIRD_WRITE_TOKEN is set.

Activation Logic

if --tinybird-disable:
    plugin does not register

elif TINYBIRD_WRITE_TOKEN is set:
    use Tinybird HTTP writer

elif --tinybird-file is set:
    use local file writer

else:
    plugin does not register

TINYBIRD_WRITE_TOKEN takes priority over --tinybird-file. If both are set, the HTTP writer is used.