graphite_statsdv3

package
v0.0.0-...-ab91046 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_stat_sinks_graphite_statsd_v3_graphite_statsd_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GraphiteStatsdSink

type GraphiteStatsdSink struct {

	// Types that are assignable to StatsdSpecifier:
	//
	//	*GraphiteStatsdSink_Address
	StatsdSpecifier isGraphiteStatsdSink_StatsdSpecifier `protobuf_oneof:"statsd_specifier"`
	// Optional custom metric name prefix. See :ref:`StatsdSink's prefix field
	// <envoy_v3_api_field_config.metrics.v3.StatsdSink.prefix>` for more details.
	Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Optional max datagram size to use when sending UDP messages. By default Envoy
	// will emit one metric per datagram. By specifying a max-size larger than a single
	// metric, Envoy will emit multiple, new-line separated metrics. The max datagram
	// size should not exceed your network's MTU.
	//
	// Note that this value may not be respected if smaller than a single metric.
	MaxBytesPerDatagram *wrapperspb.UInt64Value `protobuf:"bytes,4,opt,name=max_bytes_per_datagram,json=maxBytesPerDatagram,proto3" json:"max_bytes_per_datagram,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphiteStatsdSink) Descriptor deprecated

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

Deprecated: Use GraphiteStatsdSink.ProtoReflect.Descriptor instead.

func (*GraphiteStatsdSink) GetAddress

func (x *GraphiteStatsdSink) GetAddress() *v3.Address

func (*GraphiteStatsdSink) GetMaxBytesPerDatagram

func (x *GraphiteStatsdSink) GetMaxBytesPerDatagram() *wrapperspb.UInt64Value

func (*GraphiteStatsdSink) GetPrefix

func (x *GraphiteStatsdSink) GetPrefix() string

func (*GraphiteStatsdSink) GetStatsdSpecifier

func (m *GraphiteStatsdSink) GetStatsdSpecifier() isGraphiteStatsdSink_StatsdSpecifier

func (*GraphiteStatsdSink) ProtoMessage

func (*GraphiteStatsdSink) ProtoMessage()

func (*GraphiteStatsdSink) ProtoReflect

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

func (*GraphiteStatsdSink) Reset

func (x *GraphiteStatsdSink) Reset()

func (*GraphiteStatsdSink) String

func (x *GraphiteStatsdSink) String() string

func (*GraphiteStatsdSink) Validate

func (m *GraphiteStatsdSink) Validate() error

Validate checks the field values on GraphiteStatsdSink 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 (*GraphiteStatsdSink) ValidateAll

func (m *GraphiteStatsdSink) ValidateAll() error

ValidateAll checks the field values on GraphiteStatsdSink 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 GraphiteStatsdSinkMultiError, or nil if none found.

type GraphiteStatsdSinkMultiError

type GraphiteStatsdSinkMultiError []error

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

func (GraphiteStatsdSinkMultiError) AllErrors

func (m GraphiteStatsdSinkMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GraphiteStatsdSinkMultiError) Error

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

type GraphiteStatsdSinkValidationError

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

GraphiteStatsdSinkValidationError is the validation error returned by GraphiteStatsdSink.Validate if the designated constraints aren't met.

func (GraphiteStatsdSinkValidationError) Cause

Cause function returns cause value.

func (GraphiteStatsdSinkValidationError) Error

Error satisfies the builtin error interface

func (GraphiteStatsdSinkValidationError) ErrorName

ErrorName returns error name.

func (GraphiteStatsdSinkValidationError) Field

Field function returns field value.

func (GraphiteStatsdSinkValidationError) Key

Key function returns key value.

func (GraphiteStatsdSinkValidationError) Reason

Reason function returns reason value.

type GraphiteStatsdSink_Address

type GraphiteStatsdSink_Address struct {
	// The UDP address of a running Graphite-compliant listener. If specified,
	// statistics will be flushed to this address.
	Address *v3.Address `protobuf:"bytes,1,opt,name=address,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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