builtin:trace.ingest.control)Use this setting to steer the usage of the Full-Stack Monitoring included trace volume at a settings scope level.
Typically, Adaptive Traffic Management distributes the available volume equally to all OneAgents. It achieves this by adjusting the trace ingest rate limit every 15 minutes, ensuring that the overall trace ingest volume remains within the included volume, along with any additional extended trace volume that has been configured.
With trace ingest control, you can influence the trace ingest rate of OneAgents in specific host groups, K8s cluster or K8s namespaces allowing them to capture traces at a higher or lower rate than normal. This results in a higher trace capture rate for targeted parts of your system. Consequently, Adaptive Traffic Management might lower the trace ingest rate overall on average so that the resulting overall trace ingest volume stays within the defined bounds.
| Schema ID | Schema groups | Scope |
|---|---|---|
builtin:trace.ingest.control |
| PROCESS_GROUP_INSTANCE - ProcessPROCESS_GROUP - Process GroupCLOUD_APPLICATION - Kubernetes workloadCLOUD_APPLICATION_NAMESPACE - Kubernetes namespaceKUBERNETES_CLUSTER - Kubernetes clusterHOST_GROUP - Host Groupenvironment |
| GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:trace.ingest.control |
| SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:trace.ingest.control | |
| Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:trace.ingest.control |
To execute this request, you need an access token with Read settings (settings.read) scope. To learn how to obtain and use it, see Tokens and authentication.
| Property | Type | Description | Required |
|---|---|---|---|
Adaptive SamplingadaptiveSamplingSwitch | boolean | - | Required |
Adaptive trace ingest rate factoradaptiveTraceIngestRateFactor | float | Setting this field to 1 enables OneAgents within this scope to capture traces at a standard, adaptively determined rate. You can increase or decrease this rate limit in multiples. For instance, choosing a factor of 0.5 means that the trace ingest rate limit will be halved, whereas choosing a factor of 10 means 10 times the default trace ingest rate limit. | Required |
(Upcoming) Fixed sampling ratefixedSamplingRate | integer | Do not use this setting yet! In a future release, this will enable setting a fixed capture rate for all traces started by OneAgents within this scope. NOTE: This feature will be available in a future release. | Required |