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 Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.BoolValueIf 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.com.google.protobuf.BoolValueOrBuilderIf 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.The upstream gRPC cluster that implements the OTLP/gRPC collector.The upstream gRPC cluster that implements the OTLP/gRPC collector.If set, emitted stats names will be prepended with a prefix, so full stat name will be <prefix>.<stats_name>.com.google.protobuf.ByteStringIf set, emitted stats names will be prepended with a prefix, so full stat name will be <prefix>.<stats_name>.booleanIf set to true, counters will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.booleanIf set to true, histograms will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.com.google.protobuf.BoolValueIf set to true, metric names will be represented as the tag extracted name instead of the full metric name.com.google.protobuf.BoolValueOrBuilderIf set to true, metric names will be represented as the tag extracted name instead of the full metric name.booleanIf 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.booleanThe upstream gRPC cluster that implements the OTLP/gRPC collector.booleanIf set to true, metric names will be represented as the tag extracted name instead of the full metric name.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
-
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) = { ... } -
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.
-
getProtocolSpecifierCase
SinkConfig.ProtocolSpecifierCase getProtocolSpecifierCase()
-