Class OpenTelemetryConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryConfig.Builder>
io.envoyproxy.envoy.config.trace.v3.OpenTelemetryConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OpenTelemetryConfigOrBuilder,Cloneable
- Enclosing class:
- OpenTelemetryConfig
public static final class OpenTelemetryConfig.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryConfig.Builder>
implements OpenTelemetryConfigOrBuilder
Configuration for the OpenTelemetry tracer. [#extension: envoy.tracers.opentelemetry] [#next-free-field: 7]Protobuf type
envoy.config.trace.v3.OpenTelemetryConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllResourceDetectors(Iterable<? extends TypedExtensionConfig> values) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addResourceDetectors(int index, TypedExtensionConfig value) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]addResourceDetectors(int index, TypedExtensionConfig.Builder builderForValue) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]addResourceDetectors(TypedExtensionConfig.Builder builderForValue) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]addResourceDetectorsBuilder(int index) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The upstream gRPC cluster that will receive OTLP traces.The upstream HTTP cluster that will receive OTLP traces.Envoy caches the span in memory when the OpenTelemetry backend service is temporarily unavailable.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]Specifies the sampler to be used by the OpenTelemetry tracer.The name for the service.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe upstream gRPC cluster that will receive OTLP traces.The upstream gRPC cluster that will receive OTLP traces.The upstream gRPC cluster that will receive OTLP traces.The upstream HTTP cluster that will receive OTLP traces.The upstream HTTP cluster that will receive OTLP traces.The upstream HTTP cluster that will receive OTLP traces.com.google.protobuf.UInt32ValueEnvoy caches the span in memory when the OpenTelemetry backend service is temporarily unavailable.com.google.protobuf.UInt32Value.BuilderEnvoy caches the span in memory when the OpenTelemetry backend service is temporarily unavailable.com.google.protobuf.UInt32ValueOrBuilderEnvoy caches the span in memory when the OpenTelemetry backend service is temporarily unavailable.getResourceDetectors(int index) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]getResourceDetectorsBuilder(int index) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]intAn ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]getResourceDetectorsOrBuilder(int index) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]List<? extends TypedExtensionConfigOrBuilder>An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]Specifies the sampler to be used by the OpenTelemetry tracer.Specifies the sampler to be used by the OpenTelemetry tracer.Specifies the sampler to be used by the OpenTelemetry tracer.The name for the service.com.google.protobuf.ByteStringThe name for the service.booleanThe upstream gRPC cluster that will receive OTLP traces.booleanThe upstream HTTP cluster that will receive OTLP traces.booleanEnvoy caches the span in memory when the OpenTelemetry backend service is temporarily unavailable.booleanSpecifies the sampler to be used by the OpenTelemetry tracer.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(OpenTelemetryConfig other) mergeGrpcService(GrpcService value) The upstream gRPC cluster that will receive OTLP traces.mergeHttpService(HttpService value) The upstream HTTP cluster that will receive OTLP traces.mergeMaxCacheSize(com.google.protobuf.UInt32Value value) Envoy caches the span in memory when the OpenTelemetry backend service is temporarily unavailable.mergeSampler(TypedExtensionConfig value) Specifies the sampler to be used by the OpenTelemetry tracer.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeResourceDetectors(int index) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]setGrpcService(GrpcService value) The upstream gRPC cluster that will receive OTLP traces.setGrpcService(GrpcService.Builder builderForValue) The upstream gRPC cluster that will receive OTLP traces.setHttpService(HttpService value) The upstream HTTP cluster that will receive OTLP traces.setHttpService(HttpService.Builder builderForValue) The upstream HTTP cluster that will receive OTLP traces.setMaxCacheSize(com.google.protobuf.UInt32Value value) Envoy caches the span in memory when the OpenTelemetry backend service is temporarily unavailable.setMaxCacheSize(com.google.protobuf.UInt32Value.Builder builderForValue) Envoy caches the span in memory when the OpenTelemetry backend service is temporarily unavailable.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceDetectors(int index, TypedExtensionConfig value) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]setResourceDetectors(int index, TypedExtensionConfig.Builder builderForValue) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]setSampler(TypedExtensionConfig value) Specifies the sampler to be used by the OpenTelemetry tracer.setSampler(TypedExtensionConfig.Builder builderForValue) Specifies the sampler to be used by the OpenTelemetry tracer.setServiceName(String value) The name for the service.setServiceNameBytes(com.google.protobuf.ByteString value) The name for the service.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryConfig.Builder>
-
setField
public OpenTelemetryConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryConfig.Builder>
-
clearField
public OpenTelemetryConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryConfig.Builder>
-
clearOneof
public OpenTelemetryConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryConfig.Builder>
-
setRepeatedField
public OpenTelemetryConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryConfig.Builder>
-
addRepeatedField
public OpenTelemetryConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryConfig.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OpenTelemetryConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryConfig.Builder>
-
mergeFrom
public OpenTelemetryConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OpenTelemetryConfig.Builder>- Throws:
IOException
-
hasGrpcService
public boolean hasGrpcService()The upstream gRPC cluster that will receive OTLP traces. Note that the tracer drops traces if the server does not read data fast enough. This field can be left empty to disable reporting traces to the gRPC service. Only one of ``grpc_service``, ``http_service`` may be used.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
hasGrpcServicein interfaceOpenTelemetryConfigOrBuilder- Returns:
- Whether the grpcService field is set.
-
getGrpcService
The upstream gRPC cluster that will receive OTLP traces. Note that the tracer drops traces if the server does not read data fast enough. This field can be left empty to disable reporting traces to the gRPC service. Only one of ``grpc_service``, ``http_service`` may be used.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getGrpcServicein interfaceOpenTelemetryConfigOrBuilder- Returns:
- The grpcService.
-
setGrpcService
The upstream gRPC cluster that will receive OTLP traces. Note that the tracer drops traces if the server does not read data fast enough. This field can be left empty to disable reporting traces to the gRPC service. Only one of ``grpc_service``, ``http_service`` may be used.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.udpa.annotations.field_migrate) = { ... } -
setGrpcService
The upstream gRPC cluster that will receive OTLP traces. Note that the tracer drops traces if the server does not read data fast enough. This field can be left empty to disable reporting traces to the gRPC service. Only one of ``grpc_service``, ``http_service`` may be used.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.udpa.annotations.field_migrate) = { ... } -
mergeGrpcService
The upstream gRPC cluster that will receive OTLP traces. Note that the tracer drops traces if the server does not read data fast enough. This field can be left empty to disable reporting traces to the gRPC service. Only one of ``grpc_service``, ``http_service`` may be used.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.udpa.annotations.field_migrate) = { ... } -
clearGrpcService
The upstream gRPC cluster that will receive OTLP traces. Note that the tracer drops traces if the server does not read data fast enough. This field can be left empty to disable reporting traces to the gRPC service. Only one of ``grpc_service``, ``http_service`` may be used.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.udpa.annotations.field_migrate) = { ... } -
getGrpcServiceBuilder
The upstream gRPC cluster that will receive OTLP traces. Note that the tracer drops traces if the server does not read data fast enough. This field can be left empty to disable reporting traces to the gRPC service. Only one of ``grpc_service``, ``http_service`` may be used.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.udpa.annotations.field_migrate) = { ... } -
getGrpcServiceOrBuilder
The upstream gRPC cluster that will receive OTLP traces. Note that the tracer drops traces if the server does not read data fast enough. This field can be left empty to disable reporting traces to the gRPC service. Only one of ``grpc_service``, ``http_service`` may be used.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getGrpcServiceOrBuilderin interfaceOpenTelemetryConfigOrBuilder
-
hasHttpService
public boolean hasHttpService()The upstream HTTP cluster that will receive OTLP traces. This field can be left empty to disable reporting traces to the HTTP service. Only one of ``grpc_service``, ``http_service`` may be used. .. note:: Note: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 3 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
hasHttpServicein interfaceOpenTelemetryConfigOrBuilder- Returns:
- Whether the httpService field is set.
-
getHttpService
The upstream HTTP cluster that will receive OTLP traces. This field can be left empty to disable reporting traces to the HTTP service. Only one of ``grpc_service``, ``http_service`` may be used. .. note:: Note: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 3 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getHttpServicein interfaceOpenTelemetryConfigOrBuilder- Returns:
- The httpService.
-
setHttpService
The upstream HTTP cluster that will receive OTLP traces. This field can be left empty to disable reporting traces to the HTTP service. Only one of ``grpc_service``, ``http_service`` may be used. .. note:: Note: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 3 [(.udpa.annotations.field_migrate) = { ... } -
setHttpService
The upstream HTTP cluster that will receive OTLP traces. This field can be left empty to disable reporting traces to the HTTP service. Only one of ``grpc_service``, ``http_service`` may be used. .. note:: Note: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 3 [(.udpa.annotations.field_migrate) = { ... } -
mergeHttpService
The upstream HTTP cluster that will receive OTLP traces. This field can be left empty to disable reporting traces to the HTTP service. Only one of ``grpc_service``, ``http_service`` may be used. .. note:: Note: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 3 [(.udpa.annotations.field_migrate) = { ... } -
clearHttpService
The upstream HTTP cluster that will receive OTLP traces. This field can be left empty to disable reporting traces to the HTTP service. Only one of ``grpc_service``, ``http_service`` may be used. .. note:: Note: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 3 [(.udpa.annotations.field_migrate) = { ... } -
getHttpServiceBuilder
The upstream HTTP cluster that will receive OTLP traces. This field can be left empty to disable reporting traces to the HTTP service. Only one of ``grpc_service``, ``http_service`` may be used. .. note:: Note: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 3 [(.udpa.annotations.field_migrate) = { ... } -
getHttpServiceOrBuilder
The upstream HTTP cluster that will receive OTLP traces. This field can be left empty to disable reporting traces to the HTTP service. Only one of ``grpc_service``, ``http_service`` may be used. .. note:: Note: The ``request_headers_to_add`` property in the OTLP HTTP exporter service does not support the :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>`. The values configured are added as HTTP headers on the OTLP export request without any formatting applied.
.envoy.config.core.v3.HttpService http_service = 3 [(.udpa.annotations.field_migrate) = { ... }- Specified by:
getHttpServiceOrBuilderin interfaceOpenTelemetryConfigOrBuilder
-
getServiceName
The name for the service. This will be populated in the ResourceSpan Resource attributes. If it is not provided, it will default to "unknown_service:envoy".
string service_name = 2;- Specified by:
getServiceNamein interfaceOpenTelemetryConfigOrBuilder- Returns:
- The serviceName.
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()The name for the service. This will be populated in the ResourceSpan Resource attributes. If it is not provided, it will default to "unknown_service:envoy".
string service_name = 2;- Specified by:
getServiceNameBytesin interfaceOpenTelemetryConfigOrBuilder- Returns:
- The bytes for serviceName.
-
setServiceName
The name for the service. This will be populated in the ResourceSpan Resource attributes. If it is not provided, it will default to "unknown_service:envoy".
string service_name = 2;- Parameters:
value- The serviceName to set.- Returns:
- This builder for chaining.
-
clearServiceName
The name for the service. This will be populated in the ResourceSpan Resource attributes. If it is not provided, it will default to "unknown_service:envoy".
string service_name = 2;- Returns:
- This builder for chaining.
-
setServiceNameBytes
The name for the service. This will be populated in the ResourceSpan Resource attributes. If it is not provided, it will default to "unknown_service:envoy".
string service_name = 2;- Parameters:
value- The bytes for serviceName to set.- Returns:
- This builder for chaining.
-
getResourceDetectorsList
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;- Specified by:
getResourceDetectorsListin interfaceOpenTelemetryConfigOrBuilder
-
getResourceDetectorsCount
public int getResourceDetectorsCount()An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;- Specified by:
getResourceDetectorsCountin interfaceOpenTelemetryConfigOrBuilder
-
getResourceDetectors
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;- Specified by:
getResourceDetectorsin interfaceOpenTelemetryConfigOrBuilder
-
setResourceDetectors
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4; -
setResourceDetectors
public OpenTelemetryConfig.Builder setResourceDetectors(int index, TypedExtensionConfig.Builder builderForValue) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4; -
addResourceDetectors
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4; -
addResourceDetectors
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4; -
addResourceDetectors
public OpenTelemetryConfig.Builder addResourceDetectors(TypedExtensionConfig.Builder builderForValue) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4; -
addResourceDetectors
public OpenTelemetryConfig.Builder addResourceDetectors(int index, TypedExtensionConfig.Builder builderForValue) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4; -
addAllResourceDetectors
public OpenTelemetryConfig.Builder addAllResourceDetectors(Iterable<? extends TypedExtensionConfig> values) An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4; -
clearResourceDetectors
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4; -
removeResourceDetectors
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4; -
getResourceDetectorsBuilder
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4; -
getResourceDetectorsOrBuilder
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;- Specified by:
getResourceDetectorsOrBuilderin interfaceOpenTelemetryConfigOrBuilder
-
getResourceDetectorsOrBuilderList
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;- Specified by:
getResourceDetectorsOrBuilderListin interfaceOpenTelemetryConfigOrBuilder
-
addResourceDetectorsBuilder
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4; -
addResourceDetectorsBuilder
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4; -
getResourceDetectorsBuilderList
An ordered list of resource detectors [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4; -
hasSampler
public boolean hasSampler()Specifies the sampler to be used by the OpenTelemetry tracer. The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. This field can be left empty. In this case, the default Envoy sampling decision is used. See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.config.core.v3.TypedExtensionConfig sampler = 5;- Specified by:
hasSamplerin interfaceOpenTelemetryConfigOrBuilder- Returns:
- Whether the sampler field is set.
-
getSampler
Specifies the sampler to be used by the OpenTelemetry tracer. The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. This field can be left empty. In this case, the default Envoy sampling decision is used. See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.config.core.v3.TypedExtensionConfig sampler = 5;- Specified by:
getSamplerin interfaceOpenTelemetryConfigOrBuilder- Returns:
- The sampler.
-
setSampler
Specifies the sampler to be used by the OpenTelemetry tracer. The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. This field can be left empty. In this case, the default Envoy sampling decision is used. See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.config.core.v3.TypedExtensionConfig sampler = 5; -
setSampler
Specifies the sampler to be used by the OpenTelemetry tracer. The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. This field can be left empty. In this case, the default Envoy sampling decision is used. See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.config.core.v3.TypedExtensionConfig sampler = 5; -
mergeSampler
Specifies the sampler to be used by the OpenTelemetry tracer. The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. This field can be left empty. In this case, the default Envoy sampling decision is used. See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.config.core.v3.TypedExtensionConfig sampler = 5; -
clearSampler
Specifies the sampler to be used by the OpenTelemetry tracer. The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. This field can be left empty. In this case, the default Envoy sampling decision is used. See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.config.core.v3.TypedExtensionConfig sampler = 5; -
getSamplerBuilder
Specifies the sampler to be used by the OpenTelemetry tracer. The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. This field can be left empty. In this case, the default Envoy sampling decision is used. See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.config.core.v3.TypedExtensionConfig sampler = 5; -
getSamplerOrBuilder
Specifies the sampler to be used by the OpenTelemetry tracer. The configured sampler implements the Sampler interface defined by the OpenTelemetry specification. This field can be left empty. In this case, the default Envoy sampling decision is used. See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_ [#extension-category: envoy.tracers.opentelemetry.samplers]
.envoy.config.core.v3.TypedExtensionConfig sampler = 5;- Specified by:
getSamplerOrBuilderin interfaceOpenTelemetryConfigOrBuilder
-
hasMaxCacheSize
public boolean hasMaxCacheSize()Envoy caches the span in memory when the OpenTelemetry backend service is temporarily unavailable. This field specifies the maximum number of spans that can be cached. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_cache_size = 6;- Specified by:
hasMaxCacheSizein interfaceOpenTelemetryConfigOrBuilder- Returns:
- Whether the maxCacheSize field is set.
-
getMaxCacheSize
public com.google.protobuf.UInt32Value getMaxCacheSize()Envoy caches the span in memory when the OpenTelemetry backend service is temporarily unavailable. This field specifies the maximum number of spans that can be cached. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_cache_size = 6;- Specified by:
getMaxCacheSizein interfaceOpenTelemetryConfigOrBuilder- Returns:
- The maxCacheSize.
-
setMaxCacheSize
Envoy caches the span in memory when the OpenTelemetry backend service is temporarily unavailable. This field specifies the maximum number of spans that can be cached. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_cache_size = 6; -
setMaxCacheSize
public OpenTelemetryConfig.Builder setMaxCacheSize(com.google.protobuf.UInt32Value.Builder builderForValue) Envoy caches the span in memory when the OpenTelemetry backend service is temporarily unavailable. This field specifies the maximum number of spans that can be cached. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_cache_size = 6; -
mergeMaxCacheSize
Envoy caches the span in memory when the OpenTelemetry backend service is temporarily unavailable. This field specifies the maximum number of spans that can be cached. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_cache_size = 6; -
clearMaxCacheSize
Envoy caches the span in memory when the OpenTelemetry backend service is temporarily unavailable. This field specifies the maximum number of spans that can be cached. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_cache_size = 6; -
getMaxCacheSizeBuilder
public com.google.protobuf.UInt32Value.Builder getMaxCacheSizeBuilder()Envoy caches the span in memory when the OpenTelemetry backend service is temporarily unavailable. This field specifies the maximum number of spans that can be cached. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_cache_size = 6; -
getMaxCacheSizeOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxCacheSizeOrBuilder()Envoy caches the span in memory when the OpenTelemetry backend service is temporarily unavailable. This field specifies the maximum number of spans that can be cached. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_cache_size = 6;- Specified by:
getMaxCacheSizeOrBuilderin interfaceOpenTelemetryConfigOrBuilder
-
setUnknownFields
public final OpenTelemetryConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryConfig.Builder>
-
mergeUnknownFields
public final OpenTelemetryConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenTelemetryConfig.Builder>
-