open_telemetryv3

package
v0.11.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SinkConfig

type SinkConfig struct {

	// Types that are assignable to ProtocolSpecifier:
	//	*SinkConfig_GrpcService
	ProtocolSpecifier isSinkConfig_ProtocolSpecifier `protobuf_oneof:"protocol_specifier"`
	// If set to true, counters will be emitted as deltas, and the OTLP message will have
	// “AGGREGATION_TEMPORALITY_DELTA“ set as AggregationTemporality.
	ReportCountersAsDeltas bool `` /* 132-byte string literal not displayed */
	// If set to true, histograms will be emitted as deltas, and the OTLP message will have
	// “AGGREGATION_TEMPORALITY_DELTA“ set as AggregationTemporality.
	ReportHistogramsAsDeltas bool `` /* 138-byte string literal not displayed */
	// 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.
	EmitTagsAsAttributes *wrappers.BoolValue `protobuf:"bytes,4,opt,name=emit_tags_as_attributes,json=emitTagsAsAttributes,proto3" json:"emit_tags_as_attributes,omitempty"`
	// If set to true, metric names will be represented as the tag extracted name instead
	// of the full metric name. Default value is true.
	UseTagExtractedName *wrappers.BoolValue `protobuf:"bytes,5,opt,name=use_tag_extracted_name,json=useTagExtractedName,proto3" json:"use_tag_extracted_name,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 6]

func (*SinkConfig) Descriptor deprecated

func (*SinkConfig) Descriptor() ([]byte, []int)

Deprecated: Use SinkConfig.ProtoReflect.Descriptor instead.

func (*SinkConfig) GetEmitTagsAsAttributes

func (x *SinkConfig) GetEmitTagsAsAttributes() *wrappers.BoolValue

func (*SinkConfig) GetGrpcService

func (x *SinkConfig) GetGrpcService() *v3.GrpcService

func (*SinkConfig) GetProtocolSpecifier

func (m *SinkConfig) GetProtocolSpecifier() isSinkConfig_ProtocolSpecifier

func (*SinkConfig) GetReportCountersAsDeltas

func (x *SinkConfig) GetReportCountersAsDeltas() bool

func (*SinkConfig) GetReportHistogramsAsDeltas

func (x *SinkConfig) GetReportHistogramsAsDeltas() bool

func (*SinkConfig) GetUseTagExtractedName

func (x *SinkConfig) GetUseTagExtractedName() *wrappers.BoolValue

func (*SinkConfig) ProtoMessage

func (*SinkConfig) ProtoMessage()

func (*SinkConfig) ProtoReflect

func (x *SinkConfig) ProtoReflect() protoreflect.Message

func (*SinkConfig) Reset

func (x *SinkConfig) Reset()

func (*SinkConfig) String

func (x *SinkConfig) String() string

func (*SinkConfig) Validate

func (m *SinkConfig) Validate() error

Validate checks the field values on SinkConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SinkConfig) ValidateAll

func (m *SinkConfig) ValidateAll() error

ValidateAll checks the field values on SinkConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SinkConfigMultiError, or nil if none found.

type SinkConfigMultiError

type SinkConfigMultiError []error

SinkConfigMultiError is an error wrapping multiple validation errors returned by SinkConfig.ValidateAll() if the designated constraints aren't met.

func (SinkConfigMultiError) AllErrors

func (m SinkConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SinkConfigMultiError) Error

func (m SinkConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SinkConfigValidationError

type SinkConfigValidationError struct {
	// contains filtered or unexported fields
}

SinkConfigValidationError is the validation error returned by SinkConfig.Validate if the designated constraints aren't met.

func (SinkConfigValidationError) Cause

func (e SinkConfigValidationError) Cause() error

Cause function returns cause value.

func (SinkConfigValidationError) Error

Error satisfies the builtin error interface

func (SinkConfigValidationError) ErrorName

func (e SinkConfigValidationError) ErrorName() string

ErrorName returns error name.

func (SinkConfigValidationError) Field

Field function returns field value.

func (SinkConfigValidationError) Key

Key function returns key value.

func (SinkConfigValidationError) Reason

func (e SinkConfigValidationError) Reason() string

Reason function returns reason value.

type SinkConfig_GrpcService

type SinkConfig_GrpcService struct {
	// The upstream gRPC cluster that implements the OTLP/gRPC collector.
	GrpcService *v3.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL