Manage Sampling Rules
Create a new sampling rule
Create a new sampling rule for your organization. If you set metadata.labels["dash0.com/origin"], it must be unique within the organization, across all datasets. See "Resource origins" in the introduction. A request with a duplicate origin returns 400. To run the same rule in several datasets, put the dataset in the origin.
post/api/sampling-rules
Request
- Base URL: https://api.eu-west-1.aws.dash0.com
- URL: https://api.eu-west-1.aws.dash0.com/api/sampling-rules
- Auth: none declared
Query parameters
datasetstring
Optional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.
Request body
Response
The created sampling rule
Changes
No recorded changes to this operation across all 1 revision of this API.