Interface SinkConfigOrBuilder

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

public interface SinkConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasGrpcService

      boolean hasGrpcService()
       The upstream gRPC cluster that implements the OTLP/gRPC collector.
       
      .envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the grpcService field is set.
    • getGrpcService

      GrpcService getGrpcService()
       The upstream gRPC cluster that implements the OTLP/gRPC collector.
       
      .envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... }
      Returns:
      The grpcService.
    • getGrpcServiceOrBuilder

      GrpcServiceOrBuilder getGrpcServiceOrBuilder()
       The upstream gRPC cluster that implements the OTLP/gRPC collector.
       
      .envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... }
    • getResourceDetectorsList

      List<TypedExtensionConfig> getResourceDetectorsList()
       Attributes to be associated with the resource in the OTLP message.
       [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7;
    • getResourceDetectors

      TypedExtensionConfig getResourceDetectors(int index)
       Attributes to be associated with the resource in the OTLP message.
       [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7;
    • getResourceDetectorsCount

      int getResourceDetectorsCount()
       Attributes to be associated with the resource in the OTLP message.
       [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7;
    • getResourceDetectorsOrBuilderList

      List<? extends TypedExtensionConfigOrBuilder> getResourceDetectorsOrBuilderList()
       Attributes to be associated with the resource in the OTLP message.
       [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7;
    • getResourceDetectorsOrBuilder

      TypedExtensionConfigOrBuilder getResourceDetectorsOrBuilder(int index)
       Attributes to be associated with the resource in the OTLP message.
       [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
       
      repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7;
    • getReportCountersAsDeltas

      boolean getReportCountersAsDeltas()
       If set to true, counters will be emitted as deltas, and the OTLP message will have
       ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.
       
      bool report_counters_as_deltas = 2;
      Returns:
      The reportCountersAsDeltas.
    • getReportHistogramsAsDeltas

      boolean getReportHistogramsAsDeltas()
       If set to true, histograms will be emitted as deltas, and the OTLP message will have
       ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.
       
      bool report_histograms_as_deltas = 3;
      Returns:
      The reportHistogramsAsDeltas.
    • hasEmitTagsAsAttributes

      boolean hasEmitTagsAsAttributes()
       If set to true, metrics will have their tags emitted as OTLP attributes, which may
       contain values used by the tag extractor or additional tags added during stats creation.
       Otherwise, no attributes will be associated with the export message. Default value is true.
       
      .google.protobuf.BoolValue emit_tags_as_attributes = 4;
      Returns:
      Whether the emitTagsAsAttributes field is set.
    • getEmitTagsAsAttributes

      com.google.protobuf.BoolValue getEmitTagsAsAttributes()
       If set to true, metrics will have their tags emitted as OTLP attributes, which may
       contain values used by the tag extractor or additional tags added during stats creation.
       Otherwise, no attributes will be associated with the export message. Default value is true.
       
      .google.protobuf.BoolValue emit_tags_as_attributes = 4;
      Returns:
      The emitTagsAsAttributes.
    • getEmitTagsAsAttributesOrBuilder

      com.google.protobuf.BoolValueOrBuilder getEmitTagsAsAttributesOrBuilder()
       If set to true, metrics will have their tags emitted as OTLP attributes, which may
       contain values used by the tag extractor or additional tags added during stats creation.
       Otherwise, no attributes will be associated with the export message. Default value is true.
       
      .google.protobuf.BoolValue emit_tags_as_attributes = 4;
    • hasUseTagExtractedName

      boolean hasUseTagExtractedName()
       If set to true, metric names will be represented as the tag extracted name instead
       of the full metric name. Default value is true.
       
      .google.protobuf.BoolValue use_tag_extracted_name = 5;
      Returns:
      Whether the useTagExtractedName field is set.
    • getUseTagExtractedName

      com.google.protobuf.BoolValue getUseTagExtractedName()
       If set to true, metric names will be represented as the tag extracted name instead
       of the full metric name. Default value is true.
       
      .google.protobuf.BoolValue use_tag_extracted_name = 5;
      Returns:
      The useTagExtractedName.
    • getUseTagExtractedNameOrBuilder

      com.google.protobuf.BoolValueOrBuilder getUseTagExtractedNameOrBuilder()
       If set to true, metric names will be represented as the tag extracted name instead
       of the full metric name. Default value is true.
       
      .google.protobuf.BoolValue use_tag_extracted_name = 5;
    • getPrefix

      String getPrefix()
       If set, emitted stats names will be prepended with a prefix, so full stat name will be
       <prefix>.<stats_name>. For example, if the stat name is "foo.bar" and prefix is
       "pre", the full stat name will be "pre.foo.bar". If this field is not set, there is no
       prefix added. According to the example, the full stat name will remain "foo.bar".
       
      string prefix = 6;
      Returns:
      The prefix.
    • getPrefixBytes

      com.google.protobuf.ByteString getPrefixBytes()
       If set, emitted stats names will be prepended with a prefix, so full stat name will be
       <prefix>.<stats_name>. For example, if the stat name is "foo.bar" and prefix is
       "pre", the full stat name will be "pre.foo.bar". If this field is not set, there is no
       prefix added. According to the example, the full stat name will remain "foo.bar".
       
      string prefix = 6;
      Returns:
      The bytes for prefix.
    • hasCustomMetricConversions

      boolean hasCustomMetricConversions()
       The custom conversion from a stat to a metric. Currently, the only supported input is
       ``envoy.extensions.matching.common_inputs.stats.v3.StatFullNameMatchInput``.
       The supported actions are
       - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.DropAction``.
       - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.ConversionAction``.
       If stats are not matched, they will be directly converted to OTLP metrics as usual.
       
      .xds.type.matcher.v3.Matcher custom_metric_conversions = 8;
      Returns:
      Whether the customMetricConversions field is set.
    • getCustomMetricConversions

      Matcher getCustomMetricConversions()
       The custom conversion from a stat to a metric. Currently, the only supported input is
       ``envoy.extensions.matching.common_inputs.stats.v3.StatFullNameMatchInput``.
       The supported actions are
       - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.DropAction``.
       - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.ConversionAction``.
       If stats are not matched, they will be directly converted to OTLP metrics as usual.
       
      .xds.type.matcher.v3.Matcher custom_metric_conversions = 8;
      Returns:
      The customMetricConversions.
    • getCustomMetricConversionsOrBuilder

      MatcherOrBuilder getCustomMetricConversionsOrBuilder()
       The custom conversion from a stat to a metric. Currently, the only supported input is
       ``envoy.extensions.matching.common_inputs.stats.v3.StatFullNameMatchInput``.
       The supported actions are
       - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.DropAction``.
       - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.ConversionAction``.
       If stats are not matched, they will be directly converted to OTLP metrics as usual.
       
      .xds.type.matcher.v3.Matcher custom_metric_conversions = 8;
    • getProtocolSpecifierCase

      SinkConfig.ProtocolSpecifierCase getProtocolSpecifierCase()