Get All Span Sampling Policy
Get all sampling policies for a customer
Request
URI
GET
https://{api_host}/api/v2/spansamplingpolicy
COPY
Query Parameters
integer
offset
Optional
offset
integer
limit
Optional
limit
Responses
200
successful operation
Returns ResponseContainerPagedSpanSamplingPolicy of type(s) application/json
{
"status": {
"result": "string",
"message": "string",
"code": 0
},
"response": {
"items": [
{
"name": "string",
"id": "string",
"active": false,
"description": "string",
"expression": "string",
"createdEpochMillis": 0,
"updatedEpochMillis": 0,
"samplingPercent": 0,
"deleted": false,
"creatorId": "string",
"updaterId": "string"
}
],
"offset": 0,
"limit": 0,
"cursor": "string",
"totalItems": 0,
"moreItems": false,
"sort": {
"ascending": false,
"field": "string",
"default": false
}
}
}
Span Sampling Policy Operations
POST
Create Span Sampling Policy
DELETE
Delete Span Sampling Policy
GET
Get All Deleted Span Sampling Policy
GET
Get All Span Sampling Policy
GET
Get Span Sampling Policy
GET
Get Span Sampling Policy History
GET
Get Span Sampling Policy Version
POST
Undelete Span Sampling Policy
PUT
Update Span Sampling Policy