metrics_pb

package
v1.2.64 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ContentType_name = map[int32]string{
		0:    "Zero",
		1007: "MetricsType",
	}
	ContentType_value = map[string]int32{
		"Zero":        0,
		"MetricsType": 1007,
	}
)

Enum value maps for ContentType.

View Source
var File_ziti_metrics_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ContentType

type ContentType int32
const (
	ContentType_Zero        ContentType = 0
	ContentType_MetricsType ContentType = 1007 // see ziti-fabric/pb/ctrl_pb/ctrl.proto
)

func (ContentType) Descriptor

func (ContentType) Enum

func (x ContentType) Enum() *ContentType

func (ContentType) EnumDescriptor deprecated

func (ContentType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ContentType.Descriptor instead.

func (ContentType) Number

func (x ContentType) Number() protoreflect.EnumNumber

func (ContentType) String

func (x ContentType) String() string

func (ContentType) Type

type MetricsMessage

type MetricsMessage struct {
	EventId          string                                     `protobuf:"bytes,1,opt,name=eventId,proto3" json:"eventId,omitempty"`
	SourceId         string                                     `protobuf:"bytes,2,opt,name=sourceId,proto3" json:"sourceId,omitempty"`
	Timestamp        *timestamppb.Timestamp                     `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Tags             map[string]string                          `` /* 149-byte string literal not displayed */
	IntValues        map[string]int64                           `` /* 160-byte string literal not displayed */
	FloatValues      map[string]float64                         `` /* 165-byte string literal not displayed */
	Meters           map[string]*MetricsMessage_Meter           `` /* 153-byte string literal not displayed */
	Histograms       map[string]*MetricsMessage_Histogram       `` /* 161-byte string literal not displayed */
	IntervalCounters map[string]*MetricsMessage_IntervalCounter `` /* 173-byte string literal not displayed */
	Timers           map[string]*MetricsMessage_Timer           `` /* 154-byte string literal not displayed */
	UsageCounters    []*MetricsMessage_UsageCounter             `protobuf:"bytes,11,rep,name=usageCounters,proto3" json:"usageCounters,omitempty"`
	DoNotPropagate   bool                                       `protobuf:"varint,12,opt,name=doNotPropagate,proto3" json:"doNotPropagate,omitempty"` // if set to true, some other controller has already propagated this event
	// contains filtered or unexported fields
}

func (*MetricsMessage) Descriptor deprecated

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

Deprecated: Use MetricsMessage.ProtoReflect.Descriptor instead.

func (*MetricsMessage) GetDoNotPropagate added in v1.1.6

func (x *MetricsMessage) GetDoNotPropagate() bool

func (*MetricsMessage) GetEventId added in v1.1.0

func (x *MetricsMessage) GetEventId() string

func (*MetricsMessage) GetFloatValues

func (x *MetricsMessage) GetFloatValues() map[string]float64

func (*MetricsMessage) GetHistograms

func (x *MetricsMessage) GetHistograms() map[string]*MetricsMessage_Histogram

func (*MetricsMessage) GetIntValues

func (x *MetricsMessage) GetIntValues() map[string]int64

func (*MetricsMessage) GetIntervalCounters

func (x *MetricsMessage) GetIntervalCounters() map[string]*MetricsMessage_IntervalCounter

func (*MetricsMessage) GetMeters

func (x *MetricsMessage) GetMeters() map[string]*MetricsMessage_Meter

func (*MetricsMessage) GetSourceId

func (x *MetricsMessage) GetSourceId() string

func (*MetricsMessage) GetTags

func (x *MetricsMessage) GetTags() map[string]string

func (*MetricsMessage) GetTimers

func (x *MetricsMessage) GetTimers() map[string]*MetricsMessage_Timer

func (*MetricsMessage) GetTimestamp

func (x *MetricsMessage) GetTimestamp() *timestamppb.Timestamp

func (*MetricsMessage) GetUsageCounters added in v1.1.0

func (x *MetricsMessage) GetUsageCounters() []*MetricsMessage_UsageCounter

func (*MetricsMessage) ProtoMessage

func (*MetricsMessage) ProtoMessage()

func (*MetricsMessage) ProtoReflect

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

func (*MetricsMessage) Reset

func (x *MetricsMessage) Reset()

func (*MetricsMessage) String

func (x *MetricsMessage) String() string

type MetricsMessage_Histogram

type MetricsMessage_Histogram struct {
	Count    int64   `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Max      int64   `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
	Mean     float64 `protobuf:"fixed64,3,opt,name=mean,proto3" json:"mean,omitempty"`
	Min      int64   `protobuf:"varint,4,opt,name=min,proto3" json:"min,omitempty"`
	StdDev   float64 `protobuf:"fixed64,5,opt,name=stdDev,proto3" json:"stdDev,omitempty"`
	Variance float64 `protobuf:"fixed64,6,opt,name=variance,proto3" json:"variance,omitempty"`
	P50      float64 `protobuf:"fixed64,7,opt,name=p50,proto3" json:"p50,omitempty"`
	P75      float64 `protobuf:"fixed64,8,opt,name=p75,proto3" json:"p75,omitempty"`
	P95      float64 `protobuf:"fixed64,9,opt,name=p95,proto3" json:"p95,omitempty"`
	P99      float64 `protobuf:"fixed64,10,opt,name=p99,proto3" json:"p99,omitempty"`
	P999     float64 `protobuf:"fixed64,11,opt,name=p999,proto3" json:"p999,omitempty"`
	P9999    float64 `protobuf:"fixed64,12,opt,name=p9999,proto3" json:"p9999,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsMessage_Histogram) Descriptor deprecated

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

Deprecated: Use MetricsMessage_Histogram.ProtoReflect.Descriptor instead.

func (*MetricsMessage_Histogram) GetCount

func (x *MetricsMessage_Histogram) GetCount() int64

func (*MetricsMessage_Histogram) GetMax

func (x *MetricsMessage_Histogram) GetMax() int64

func (*MetricsMessage_Histogram) GetMean

func (x *MetricsMessage_Histogram) GetMean() float64

func (*MetricsMessage_Histogram) GetMin

func (x *MetricsMessage_Histogram) GetMin() int64

func (*MetricsMessage_Histogram) GetP50

func (x *MetricsMessage_Histogram) GetP50() float64

func (*MetricsMessage_Histogram) GetP75

func (x *MetricsMessage_Histogram) GetP75() float64

func (*MetricsMessage_Histogram) GetP95

func (x *MetricsMessage_Histogram) GetP95() float64

func (*MetricsMessage_Histogram) GetP99

func (x *MetricsMessage_Histogram) GetP99() float64

func (*MetricsMessage_Histogram) GetP999

func (x *MetricsMessage_Histogram) GetP999() float64

func (*MetricsMessage_Histogram) GetP9999

func (x *MetricsMessage_Histogram) GetP9999() float64

func (*MetricsMessage_Histogram) GetStdDev

func (x *MetricsMessage_Histogram) GetStdDev() float64

func (*MetricsMessage_Histogram) GetVariance

func (x *MetricsMessage_Histogram) GetVariance() float64

func (*MetricsMessage_Histogram) ProtoMessage

func (*MetricsMessage_Histogram) ProtoMessage()

func (*MetricsMessage_Histogram) ProtoReflect

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

func (*MetricsMessage_Histogram) Reset

func (x *MetricsMessage_Histogram) Reset()

func (*MetricsMessage_Histogram) String

func (x *MetricsMessage_Histogram) String() string

type MetricsMessage_IntervalBucket

type MetricsMessage_IntervalBucket struct {
	IntervalStartUTC int64             `protobuf:"varint,1,opt,name=intervalStartUTC,proto3" json:"intervalStartUTC,omitempty"` // Only need minute resolution, this will be seconds resolution
	Values           map[string]uint64 ``                                                                                       /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MetricsMessage_IntervalBucket) Descriptor deprecated

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

Deprecated: Use MetricsMessage_IntervalBucket.ProtoReflect.Descriptor instead.

func (*MetricsMessage_IntervalBucket) GetIntervalStartUTC

func (x *MetricsMessage_IntervalBucket) GetIntervalStartUTC() int64

func (*MetricsMessage_IntervalBucket) GetValues

func (x *MetricsMessage_IntervalBucket) GetValues() map[string]uint64

func (*MetricsMessage_IntervalBucket) ProtoMessage

func (*MetricsMessage_IntervalBucket) ProtoMessage()

func (*MetricsMessage_IntervalBucket) ProtoReflect

func (*MetricsMessage_IntervalBucket) Reset

func (x *MetricsMessage_IntervalBucket) Reset()

func (*MetricsMessage_IntervalBucket) String

type MetricsMessage_IntervalCounter

type MetricsMessage_IntervalCounter struct {
	IntervalLength uint64                           `protobuf:"varint,1,opt,name=intervalLength,proto3" json:"intervalLength,omitempty"`
	Buckets        []*MetricsMessage_IntervalBucket `protobuf:"bytes,2,rep,name=buckets,proto3" json:"buckets,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsMessage_IntervalCounter) Descriptor deprecated

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

Deprecated: Use MetricsMessage_IntervalCounter.ProtoReflect.Descriptor instead.

func (*MetricsMessage_IntervalCounter) GetBuckets

func (*MetricsMessage_IntervalCounter) GetIntervalLength

func (x *MetricsMessage_IntervalCounter) GetIntervalLength() uint64

func (*MetricsMessage_IntervalCounter) ProtoMessage

func (*MetricsMessage_IntervalCounter) ProtoMessage()

func (*MetricsMessage_IntervalCounter) ProtoReflect

func (*MetricsMessage_IntervalCounter) Reset

func (x *MetricsMessage_IntervalCounter) Reset()

func (*MetricsMessage_IntervalCounter) String

type MetricsMessage_Meter

type MetricsMessage_Meter struct {
	Count    int64   `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	M1Rate   float64 `protobuf:"fixed64,2,opt,name=m1Rate,proto3" json:"m1Rate,omitempty"`
	M5Rate   float64 `protobuf:"fixed64,3,opt,name=m5Rate,proto3" json:"m5Rate,omitempty"`
	M15Rate  float64 `protobuf:"fixed64,4,opt,name=m15Rate,proto3" json:"m15Rate,omitempty"`
	MeanRate float64 `protobuf:"fixed64,5,opt,name=meanRate,proto3" json:"meanRate,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsMessage_Meter) Descriptor deprecated

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

Deprecated: Use MetricsMessage_Meter.ProtoReflect.Descriptor instead.

func (*MetricsMessage_Meter) GetCount

func (x *MetricsMessage_Meter) GetCount() int64

func (*MetricsMessage_Meter) GetM15Rate

func (x *MetricsMessage_Meter) GetM15Rate() float64

func (*MetricsMessage_Meter) GetM1Rate

func (x *MetricsMessage_Meter) GetM1Rate() float64

func (*MetricsMessage_Meter) GetM5Rate

func (x *MetricsMessage_Meter) GetM5Rate() float64

func (*MetricsMessage_Meter) GetMeanRate

func (x *MetricsMessage_Meter) GetMeanRate() float64

func (*MetricsMessage_Meter) ProtoMessage

func (*MetricsMessage_Meter) ProtoMessage()

func (*MetricsMessage_Meter) ProtoReflect

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

func (*MetricsMessage_Meter) Reset

func (x *MetricsMessage_Meter) Reset()

func (*MetricsMessage_Meter) String

func (x *MetricsMessage_Meter) String() string

type MetricsMessage_Timer

type MetricsMessage_Timer struct {
	Count    int64   `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Max      int64   `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
	Mean     float64 `protobuf:"fixed64,3,opt,name=mean,proto3" json:"mean,omitempty"`
	Min      int64   `protobuf:"varint,4,opt,name=min,proto3" json:"min,omitempty"`
	StdDev   float64 `protobuf:"fixed64,5,opt,name=stdDev,proto3" json:"stdDev,omitempty"`
	Variance float64 `protobuf:"fixed64,6,opt,name=variance,proto3" json:"variance,omitempty"`
	P50      float64 `protobuf:"fixed64,7,opt,name=p50,proto3" json:"p50,omitempty"`
	P75      float64 `protobuf:"fixed64,8,opt,name=p75,proto3" json:"p75,omitempty"`
	P95      float64 `protobuf:"fixed64,9,opt,name=p95,proto3" json:"p95,omitempty"`
	P99      float64 `protobuf:"fixed64,10,opt,name=p99,proto3" json:"p99,omitempty"`
	P999     float64 `protobuf:"fixed64,11,opt,name=p999,proto3" json:"p999,omitempty"`
	P9999    float64 `protobuf:"fixed64,12,opt,name=p9999,proto3" json:"p9999,omitempty"`
	M1Rate   float64 `protobuf:"fixed64,13,opt,name=m1Rate,proto3" json:"m1Rate,omitempty"`
	M5Rate   float64 `protobuf:"fixed64,14,opt,name=m5Rate,proto3" json:"m5Rate,omitempty"`
	M15Rate  float64 `protobuf:"fixed64,15,opt,name=m15Rate,proto3" json:"m15Rate,omitempty"`
	MeanRate float64 `protobuf:"fixed64,16,opt,name=meanRate,proto3" json:"meanRate,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsMessage_Timer) Descriptor deprecated

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

Deprecated: Use MetricsMessage_Timer.ProtoReflect.Descriptor instead.

func (*MetricsMessage_Timer) GetCount

func (x *MetricsMessage_Timer) GetCount() int64

func (*MetricsMessage_Timer) GetM15Rate

func (x *MetricsMessage_Timer) GetM15Rate() float64

func (*MetricsMessage_Timer) GetM1Rate

func (x *MetricsMessage_Timer) GetM1Rate() float64

func (*MetricsMessage_Timer) GetM5Rate

func (x *MetricsMessage_Timer) GetM5Rate() float64

func (*MetricsMessage_Timer) GetMax

func (x *MetricsMessage_Timer) GetMax() int64

func (*MetricsMessage_Timer) GetMean

func (x *MetricsMessage_Timer) GetMean() float64

func (*MetricsMessage_Timer) GetMeanRate

func (x *MetricsMessage_Timer) GetMeanRate() float64

func (*MetricsMessage_Timer) GetMin

func (x *MetricsMessage_Timer) GetMin() int64

func (*MetricsMessage_Timer) GetP50

func (x *MetricsMessage_Timer) GetP50() float64

func (*MetricsMessage_Timer) GetP75

func (x *MetricsMessage_Timer) GetP75() float64

func (*MetricsMessage_Timer) GetP95

func (x *MetricsMessage_Timer) GetP95() float64

func (*MetricsMessage_Timer) GetP99

func (x *MetricsMessage_Timer) GetP99() float64

func (*MetricsMessage_Timer) GetP999

func (x *MetricsMessage_Timer) GetP999() float64

func (*MetricsMessage_Timer) GetP9999

func (x *MetricsMessage_Timer) GetP9999() float64

func (*MetricsMessage_Timer) GetStdDev

func (x *MetricsMessage_Timer) GetStdDev() float64

func (*MetricsMessage_Timer) GetVariance

func (x *MetricsMessage_Timer) GetVariance() float64

func (*MetricsMessage_Timer) ProtoMessage

func (*MetricsMessage_Timer) ProtoMessage()

func (*MetricsMessage_Timer) ProtoReflect

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

func (*MetricsMessage_Timer) Reset

func (x *MetricsMessage_Timer) Reset()

func (*MetricsMessage_Timer) String

func (x *MetricsMessage_Timer) String() string

type MetricsMessage_UsageBucket added in v1.1.0

type MetricsMessage_UsageBucket struct {
	Values map[string]uint64 `` /* 154-byte string literal not displayed */
	Tags   map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MetricsMessage_UsageBucket) Descriptor deprecated added in v1.1.0

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

Deprecated: Use MetricsMessage_UsageBucket.ProtoReflect.Descriptor instead.

func (*MetricsMessage_UsageBucket) GetTags added in v1.1.0

func (x *MetricsMessage_UsageBucket) GetTags() map[string]string

func (*MetricsMessage_UsageBucket) GetValues added in v1.1.0

func (x *MetricsMessage_UsageBucket) GetValues() map[string]uint64

func (*MetricsMessage_UsageBucket) ProtoMessage added in v1.1.0

func (*MetricsMessage_UsageBucket) ProtoMessage()

func (*MetricsMessage_UsageBucket) ProtoReflect added in v1.1.0

func (*MetricsMessage_UsageBucket) Reset added in v1.1.0

func (x *MetricsMessage_UsageBucket) Reset()

func (*MetricsMessage_UsageBucket) String added in v1.1.0

func (x *MetricsMessage_UsageBucket) String() string

type MetricsMessage_UsageCounter added in v1.1.0

type MetricsMessage_UsageCounter struct {
	IntervalStartUTC int64                                  `protobuf:"varint,1,opt,name=intervalStartUTC,proto3" json:"intervalStartUTC,omitempty"`
	IntervalLength   uint64                                 `protobuf:"varint,2,opt,name=intervalLength,proto3" json:"intervalLength,omitempty"`
	Buckets          map[string]*MetricsMessage_UsageBucket `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MetricsMessage_UsageCounter) Descriptor deprecated added in v1.1.0

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

Deprecated: Use MetricsMessage_UsageCounter.ProtoReflect.Descriptor instead.

func (*MetricsMessage_UsageCounter) GetBuckets added in v1.1.0

func (*MetricsMessage_UsageCounter) GetIntervalLength added in v1.1.0

func (x *MetricsMessage_UsageCounter) GetIntervalLength() uint64

func (*MetricsMessage_UsageCounter) GetIntervalStartUTC added in v1.1.0

func (x *MetricsMessage_UsageCounter) GetIntervalStartUTC() int64

func (*MetricsMessage_UsageCounter) ProtoMessage added in v1.1.0

func (*MetricsMessage_UsageCounter) ProtoMessage()

func (*MetricsMessage_UsageCounter) ProtoReflect added in v1.1.0

func (*MetricsMessage_UsageCounter) Reset added in v1.1.0

func (x *MetricsMessage_UsageCounter) Reset()

func (*MetricsMessage_UsageCounter) String added in v1.1.0

func (x *MetricsMessage_UsageCounter) String() string

Jump to

Keyboard shortcuts

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