Dynatrace Sampler config (proto)

extensions.tracers.opentelemetry.samplers.v3.DynatraceSamplerConfig

[extensions.tracers.opentelemetry.samplers.v3.DynatraceSamplerConfig proto]

Configuration for the Dynatrace Sampler extension.

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:

{
  "tenant": ...,
  "cluster_id": ...,
  "http_service": {...},
  "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_service

(config.core.v3.HttpService) The HTTP service to fetch the sampler configuration from the Dynatrace API (root spans per minute). For example:

http_service:
  http_uri:
    cluster: dynatrace
    uri: <tenant>.dev.dynatracelabs.com/api/v2/samplingConfiguration
    timeout: 10s
  request_headers_to_add:
  - header:
      key : "authorization"
      value: "Api-Token dt..."
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 unset

  • root_spans_per_minute is set to 0