// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/config/trace/v3/opentelemetry.proto
package io.envoyproxy.envoy.config.trace.v3;
public interface OpenTelemetryConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.config.trace.v3.OpenTelemetryConfig)
com.google.protobuf.MessageOrBuilder {
/**
*
* 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) = { ... }
* @return Whether the grpcService field is set.
*/
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) = { ... }
* @return The grpcService.
*/
io.envoyproxy.envoy.config.core.v3.GrpcService 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) = { ... }
*/
io.envoyproxy.envoy.config.core.v3.GrpcServiceOrBuilder getGrpcServiceOrBuilder();
/**
*
* 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) = { ... }
* @return Whether the httpService field is set.
*/
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) = { ... }
* @return The httpService.
*/
io.envoyproxy.envoy.config.core.v3.HttpService 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) = { ... }
*/
io.envoyproxy.envoy.config.core.v3.HttpServiceOrBuilder getHttpServiceOrBuilder();
/**
*
* 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;
* @return The serviceName.
*/
java.lang.String 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;
* @return The bytes for serviceName.
*/
com.google.protobuf.ByteString
getServiceNameBytes();
/**
*
* An ordered list of resource detectors
* [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
*
*
* repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
*/
java.util.List
getResourceDetectorsList();
/**
*
* An ordered list of resource detectors
* [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
*
*
* repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
*/
io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getResourceDetectors(int index);
/**
*
* An ordered list of resource detectors
* [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
*
*
* repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
*/
int getResourceDetectorsCount();
/**
*
* An ordered list of resource detectors
* [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
*
*
* repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
*/
java.util.List extends io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder>
getResourceDetectorsOrBuilderList();
/**
*
* An ordered list of resource detectors
* [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
*
*
* repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 4;
*/
io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getResourceDetectorsOrBuilder(
int index);
/**
*
* 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;
* @return Whether the sampler field is set.
*/
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;
* @return The sampler.
*/
io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig 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;
*/
io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getSamplerOrBuilder();
}