Interface OpenTelemetryConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    OpenTelemetryConfig, OpenTelemetryConfig.Builder

    public interface OpenTelemetryConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasGrpcService

        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) = { ... }
        Returns:
        Whether the grpcService field is set.
      • getGrpcService

        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) = { ... }
        Returns:
        The grpcService.
      • getGrpcServiceOrBuilder

        GrpcServiceOrBuilder 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) = { ... }
      • hasHttpService

        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) = { ... }
        Returns:
        Whether the httpService field is set.
      • getHttpService

        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) = { ... }
        Returns:
        The httpService.
      • getHttpServiceOrBuilder

        HttpServiceOrBuilder 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) = { ... }
      • getServiceName

        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;
        Returns:
        The serviceName.
      • getServiceNameBytes

        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;
        Returns:
        The bytes for serviceName.