openlayer export command downloads monitoring data from an inference pipeline
for a specified time period.
It supports flexible ways to specify date ranges and optional filters to refine the
exported dataset.
Usage
dataset.json and config.json file in ./openlayer-exports/{pipeline_name}_{start}_{end}.
Date ranges
You can specify time ranges in multiple ways:Filters
You can refine the exported dataset using--filter flags or a JSON file.
Simple syntax
JSON file (advanced)
For more complex filters, pass a JSON file:Output format
--format (or -f) controls the file format of the exported data:
Test scores
By default the export contains no score columns. Pass--include-scores all to add each
test’s score and explanation as columns:
Combining
--format csv with --include-scores all splits the output into
several data_partNNNN.csv files instead of a single file. The CLI prints a
note when it does.