metrics_pb

package
v0.17.16 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 5 Imported by: 7

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 added in v0.15.69

func (ContentType) Enum added in v0.15.69

func (x ContentType) Enum() *ContentType

func (ContentType) EnumDescriptor deprecated

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

Deprecated: Use ContentType.Descriptor instead.

func (ContentType) Number added in v0.15.69

func (x ContentType) Number() protoreflect.EnumNumber

func (ContentType) String

func (x ContentType) String() string

func (ContentType) Type added in v0.15.69

type MetricsMessage

type MetricsMessage struct {
	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 */
	// contains filtered or unexported fields
}

func (*MetricsMessage) Descriptor deprecated

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

Deprecated: Use MetricsMessage.ProtoReflect.Descriptor instead.

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 added in v0.13.1

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

func (*MetricsMessage) GetTimestamp

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

func (*MetricsMessage) ProtoMessage

func (*MetricsMessage) ProtoMessage()

func (*MetricsMessage) ProtoReflect added in v0.15.69

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 added in v0.15.69

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 added in v0.15.69

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 added in v0.15.69

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 added in v0.15.69

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 added in v0.13.1

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 added in v0.13.1

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

Deprecated: Use MetricsMessage_Timer.ProtoReflect.Descriptor instead.

func (*MetricsMessage_Timer) GetCount added in v0.13.1

func (x *MetricsMessage_Timer) GetCount() int64

func (*MetricsMessage_Timer) GetM15Rate added in v0.13.1

func (x *MetricsMessage_Timer) GetM15Rate() float64

func (*MetricsMessage_Timer) GetM1Rate added in v0.13.1

func (x *MetricsMessage_Timer) GetM1Rate() float64

func (*MetricsMessage_Timer) GetM5Rate added in v0.13.1

func (x *MetricsMessage_Timer) GetM5Rate() float64

func (*MetricsMessage_Timer) GetMax added in v0.13.1

func (x *MetricsMessage_Timer) GetMax() int64

func (*MetricsMessage_Timer) GetMean added in v0.13.1

func (x *MetricsMessage_Timer) GetMean() float64

func (*MetricsMessage_Timer) GetMeanRate added in v0.13.1

func (x *MetricsMessage_Timer) GetMeanRate() float64

func (*MetricsMessage_Timer) GetMin added in v0.13.1

func (x *MetricsMessage_Timer) GetMin() int64

func (*MetricsMessage_Timer) GetP50 added in v0.13.1

func (x *MetricsMessage_Timer) GetP50() float64

func (*MetricsMessage_Timer) GetP75 added in v0.13.1

func (x *MetricsMessage_Timer) GetP75() float64

func (*MetricsMessage_Timer) GetP95 added in v0.13.1

func (x *MetricsMessage_Timer) GetP95() float64

func (*MetricsMessage_Timer) GetP99 added in v0.13.1

func (x *MetricsMessage_Timer) GetP99() float64

func (*MetricsMessage_Timer) GetP999 added in v0.13.1

func (x *MetricsMessage_Timer) GetP999() float64

func (*MetricsMessage_Timer) GetP9999 added in v0.13.1

func (x *MetricsMessage_Timer) GetP9999() float64

func (*MetricsMessage_Timer) GetStdDev added in v0.13.1

func (x *MetricsMessage_Timer) GetStdDev() float64

func (*MetricsMessage_Timer) GetVariance added in v0.13.1

func (x *MetricsMessage_Timer) GetVariance() float64

func (*MetricsMessage_Timer) ProtoMessage added in v0.13.1

func (*MetricsMessage_Timer) ProtoMessage()

func (*MetricsMessage_Timer) ProtoReflect added in v0.15.69

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

func (*MetricsMessage_Timer) Reset added in v0.13.1

func (x *MetricsMessage_Timer) Reset()

func (*MetricsMessage_Timer) String added in v0.13.1

func (x *MetricsMessage_Timer) String() string

Jump to

Keyboard shortcuts

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