Interface DynatraceSamplerConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DynatraceSamplerConfig,DynatraceSamplerConfig.Builder
public interface DynatraceSamplerConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe id of the Dynatrace cluster id.The HTTP service to fetch the sampler configuration from the Dynatrace API (root spans per minute).The HTTP service to fetch the sampler configuration from the Dynatrace API (root spans per minute).intDefault number of root spans per minute, used when the value can't be obtained from the Dynatrace API.The Dynatrace tenant.com.google.protobuf.ByteStringThe Dynatrace tenant.booleanThe HTTP service to fetch the sampler configuration from the Dynatrace API (root spans per minute).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTenant
String getTenant()The Dynatrace tenant. The value can be obtained from the Envoy deployment page in Dynatrace.
string tenant = 1;- Returns:
- The tenant.
-
getTenantBytes
com.google.protobuf.ByteString getTenantBytes()The Dynatrace tenant. The value can be obtained from the Envoy deployment page in Dynatrace.
string tenant = 1;- Returns:
- The bytes for tenant.
-
getClusterId
int getClusterId()The id of the Dynatrace cluster id. The value can be obtained from the Envoy deployment page in Dynatrace.
int32 cluster_id = 2;- Returns:
- The clusterId.
-
hasHttpService
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;- Returns:
- Whether the httpService field is set.
-
getHttpService
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;- Returns:
- The httpService.
-
getHttpServiceOrBuilder
HttpServiceOrBuilder getHttpServiceOrBuilder()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; -
getRootSpansPerMinute
int getRootSpansPerMinute()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;- Returns:
- The rootSpansPerMinute.
-