Interface DatadogConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DatadogConfig,DatadogConfig.Builder
public interface DatadogConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe cluster to use for submitting traces to the Datadog agent.com.google.protobuf.ByteStringThe cluster to use for submitting traces to the Datadog agent.Optional hostname to use when sending spans to the collector_cluster.com.google.protobuf.ByteStringOptional hostname to use when sending spans to the collector_cluster.Enables and configures remote configuration.Enables and configures remote configuration.The name used for the service when traces are generated by envoy.com.google.protobuf.ByteStringThe name used for the service when traces are generated by envoy.booleanEnables and configures remote configuration.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
-
getCollectorCluster
String getCollectorCluster()The cluster to use for submitting traces to the Datadog agent.
string collector_cluster = 1 [(.validate.rules) = { ... }- Returns:
- The collectorCluster.
-
getCollectorClusterBytes
com.google.protobuf.ByteString getCollectorClusterBytes()The cluster to use for submitting traces to the Datadog agent.
string collector_cluster = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for collectorCluster.
-
getServiceName
String getServiceName()The name used for the service when traces are generated by envoy.
string service_name = 2 [(.validate.rules) = { ... }- Returns:
- The serviceName.
-
getServiceNameBytes
com.google.protobuf.ByteString getServiceNameBytes()The name used for the service when traces are generated by envoy.
string service_name = 2 [(.validate.rules) = { ... }- Returns:
- The bytes for serviceName.
-
getCollectorHostname
String getCollectorHostname()Optional hostname to use when sending spans to the collector_cluster. Useful for collectors that require a specific hostname. Defaults to :ref:`collector_cluster <envoy_v3_api_field_config.trace.v3.DatadogConfig.collector_cluster>` above.
string collector_hostname = 3;- Returns:
- The collectorHostname.
-
getCollectorHostnameBytes
com.google.protobuf.ByteString getCollectorHostnameBytes()Optional hostname to use when sending spans to the collector_cluster. Useful for collectors that require a specific hostname. Defaults to :ref:`collector_cluster <envoy_v3_api_field_config.trace.v3.DatadogConfig.collector_cluster>` above.
string collector_hostname = 3;- Returns:
- The bytes for collectorHostname.
-
hasRemoteConfig
boolean hasRemoteConfig()Enables and configures remote configuration. Remote Configuration allows to configure the tracer from Datadog's user interface. This feature can drastically increase the number of connections to the Datadog Agent. Each tracer regularly polls for configuration updates, and the number of tracers is the product of the number of listeners and worker threads.
.envoy.config.trace.v3.DatadogRemoteConfig remote_config = 4;- Returns:
- Whether the remoteConfig field is set.
-
getRemoteConfig
DatadogRemoteConfig getRemoteConfig()Enables and configures remote configuration. Remote Configuration allows to configure the tracer from Datadog's user interface. This feature can drastically increase the number of connections to the Datadog Agent. Each tracer regularly polls for configuration updates, and the number of tracers is the product of the number of listeners and worker threads.
.envoy.config.trace.v3.DatadogRemoteConfig remote_config = 4;- Returns:
- The remoteConfig.
-
getRemoteConfigOrBuilder
DatadogRemoteConfigOrBuilder getRemoteConfigOrBuilder()Enables and configures remote configuration. Remote Configuration allows to configure the tracer from Datadog's user interface. This feature can drastically increase the number of connections to the Datadog Agent. Each tracer regularly polls for configuration updates, and the number of tracers is the product of the number of listeners and worker threads.
.envoy.config.trace.v3.DatadogRemoteConfig remote_config = 4;
-