Structsยง
- LOKI_
INIT_ ๐SCHEMAS - axum state struct to hold log handler and validator
- Dryrun pipeline with given data pipeline_name and pipeline_version to specify pipeline stored in db pipeline to specify pipeline raw content data to specify data data maght be list of string or list of object
Constantsยง
- LOKI_
LINE_ ๐COLUMN - LOKI_
TABLE_ ๐NAME
Traitsยง
Functionsยง
- check_
data_ ๐valid Check if the data length less than 10 - Check if the payload is valid json Check if the payload contains pipeline or pipeline_name and data Return Some if valid, None if invalid
- Check if the pipeline_name exists
- Dryrun pipeline with given data
- ingest_
logs_ ๐inner - prost_
ts_ ๐to_ nano - Transform NDJSON array into a single array always return an array