Creates a new dataset, either populated with existing spans or empty for manual population. You can specify filters and sampling rate to select which spans to include, or create an empty dataset to add spans manually later.
Authentication
All endpoints require API key authentication:
Parameters
-
name string required: The name of the dataset.
-
description string: A description of the dataset.
-
sampling integer: Percentage of spans to include (0-100).
-
start_time string: ISO 8601 timestamp for span filtering. Required when is_empty is false or not provided. Ignored when is_empty is true.
-
end_time string: ISO 8601 timestamp for span filtering. Required when is_empty is false or not provided. Ignored when is_empty is true.
-
is_empty boolean: Create empty dataset. When true, start_time and end_time are ignored.
-
initial_log_filters object: Filters to apply to select spans for the dataset.
Example
Request Examples
Response