Dynatrace Sampler config (proto)
This extension has the qualified name envoy.tracers.opentelemetry.samplers.dynatrace
Note
This extension is work-in-progress. Functionality is incomplete and it is not intended for production use.
This extension has an unknown security posture and should only be used in deployments where both the downstream and upstream are trusted.
Tip
This extension extends and can be used with the following extension category:
This extension must be configured with one of the following type URLs:
Configuration for the Dynatrace Sampler extension.
extensions.tracers.opentelemetry.samplers.v3.DynatraceSamplerConfig
[extensions.tracers.opentelemetry.samplers.v3.DynatraceSamplerConfig proto]
{
"tenant": ...,
"cluster_id": ...,
"http_uri": {...},
"token": ...,
"root_spans_per_minute": ...
}
- tenant
(string) The Dynatrace tenant.
The value can be obtained from the Envoy deployment page in Dynatrace.
- cluster_id
(int32) The id of the Dynatrace cluster id.
The value can be obtained from the Envoy deployment page in Dynatrace.
- http_uri
(config.core.v3.HttpUri) The HTTP URI to fetch the sampler configuration (root spans per minute). For example:
http_uri: uri: <tenant>.dev.dynatracelabs.com/api/v2/samplingConfiguration cluster: dynatrace timeout: 10s
- token
(string) The access token to fetch the sampling configuration from the Dynatrace API
- root_spans_per_minute
(uint32) Default number of root spans per minute, used when the value can’t be obtained from the Dynatrace API.
A default value of
1000
is used when:root_spans_per_minute
is unsetroot_spans_per_minute
is set to 0