
io.envoyproxy.envoy.extensions.tracers.opentelemetry.samplers.v3.DynatraceSamplerConfigOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/extensions/tracers/opentelemetry/samplers/v3/dynatrace_sampler.proto
// Protobuf Java Version: 3.25.1
package io.envoyproxy.envoy.extensions.tracers.opentelemetry.samplers.v3;
public interface DynatraceSamplerConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.extensions.tracers.opentelemetry.samplers.v3.DynatraceSamplerConfig)
com.google.protobuf.MessageOrBuilder {
/**
*
* The Dynatrace tenant.
*
* The value can be obtained from the Envoy deployment page in Dynatrace.
*
*
* string tenant = 1;
* @return The tenant.
*/
java.lang.String getTenant();
/**
*
* The Dynatrace tenant.
*
* The value can be obtained from the Envoy deployment page in Dynatrace.
*
*
* string tenant = 1;
* @return The bytes for tenant.
*/
com.google.protobuf.ByteString
getTenantBytes();
/**
*
* The id of the Dynatrace cluster id.
*
* The value can be obtained from the Envoy deployment page in Dynatrace.
*
*
* int32 cluster_id = 2;
* @return The clusterId.
*/
int getClusterId();
/**
*
* The HTTP service to fetch the sampler configuration from the Dynatrace API (root spans per minute). For example:
*
* .. code-block:: yaml
*
* 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..."
*
*
* .envoy.config.core.v3.HttpService http_service = 3;
* @return Whether the httpService field is set.
*/
boolean hasHttpService();
/**
*
* The HTTP service to fetch the sampler configuration from the Dynatrace API (root spans per minute). For example:
*
* .. code-block:: yaml
*
* 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..."
*
*
* .envoy.config.core.v3.HttpService http_service = 3;
* @return The httpService.
*/
io.envoyproxy.envoy.config.core.v3.HttpService getHttpService();
/**
*
* The HTTP service to fetch the sampler configuration from the Dynatrace API (root spans per minute). For example:
*
* .. code-block:: yaml
*
* 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..."
*
*
* .envoy.config.core.v3.HttpService http_service = 3;
*/
io.envoyproxy.envoy.config.core.v3.HttpServiceOrBuilder getHttpServiceOrBuilder();
/**
*
* 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
*
*
* uint32 root_spans_per_minute = 4;
* @return The rootSpansPerMinute.
*/
int getRootSpansPerMinute();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy