Set Sample-Percent

Allows customers to configure the sample_percent parameter. This API will NOT modify the sample_one_in_n rate. The sample_percent may be a decimal from [1, 100].

Old microsats are not capable of picking up the sample_percent change. For new microsats, 2022-04-28_17-39-22Z and later, the sample_percent takes precedence over any yaml-configured sample rate and sample_one_in_n set with the API. For all other microsats, the sample_percent ignored.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Name of the customer organization

string
required

Name of the customer project

Body Params

Sampling rate

data
object
Responses
200

The sample-percent parameter was updated successfully.

400

No organization parameter provided

401

The API Key does not provide access to this resource, or the organization name does not exist

404

Project name is not found

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!