post https://api.lightstep.com/public/v0.2//projects//sampling-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.
Log in to see full request history
Responses
200The sample-percent parameter was updated successfully.
400No organization parameter provided
401The API Key does not provide access to this resource, or the organization name does not exist
404Project name is not found