metrics_pb

package
v0.14.23 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: Apache-2.0 Imports: 4 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type ContentType

type ContentType int32
const (
	ContentType_Zero        ContentType = 0
	ContentType_MetricsType ContentType = 1007
)

func (ContentType) EnumDescriptor

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

func (ContentType) String

func (x ContentType) String() string

type MetricsMessage

type MetricsMessage struct {
	SourceId             string                                     `protobuf:"bytes,2,opt,name=sourceId,proto3" json:"sourceId,omitempty"`
	Timestamp            *timestamp.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 */
	XXX_NoUnkeyedLiteral struct{}                                   `json:"-"`
	XXX_unrecognized     []byte                                     `json:"-"`
	XXX_sizecache        int32                                      `json:"-"`
}

func (*MetricsMessage) Descriptor

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

func (*MetricsMessage) GetFloatValues

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

func (*MetricsMessage) GetHistograms

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

func (*MetricsMessage) GetIntValues

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

func (*MetricsMessage) GetIntervalCounters

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

func (*MetricsMessage) GetMeters

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

func (*MetricsMessage) GetSourceId

func (m *MetricsMessage) GetSourceId() string

func (*MetricsMessage) GetTags

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

func (*MetricsMessage) GetTimers added in v0.13.1

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

func (*MetricsMessage) GetTimestamp

func (m *MetricsMessage) GetTimestamp() *timestamp.Timestamp

func (*MetricsMessage) ProtoMessage

func (*MetricsMessage) ProtoMessage()

func (*MetricsMessage) Reset

func (m *MetricsMessage) Reset()

func (*MetricsMessage) String

func (m *MetricsMessage) String() string

func (*MetricsMessage) XXX_DiscardUnknown

func (m *MetricsMessage) XXX_DiscardUnknown()

func (*MetricsMessage) XXX_Marshal

func (m *MetricsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricsMessage) XXX_Merge

func (m *MetricsMessage) XXX_Merge(src proto.Message)

func (*MetricsMessage) XXX_Size

func (m *MetricsMessage) XXX_Size() int

func (*MetricsMessage) XXX_Unmarshal

func (m *MetricsMessage) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MetricsMessage_Histogram) Descriptor

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

func (*MetricsMessage_Histogram) GetCount

func (m *MetricsMessage_Histogram) GetCount() int64

func (*MetricsMessage_Histogram) GetMax

func (m *MetricsMessage_Histogram) GetMax() int64

func (*MetricsMessage_Histogram) GetMean

func (m *MetricsMessage_Histogram) GetMean() float64

func (*MetricsMessage_Histogram) GetMin

func (m *MetricsMessage_Histogram) GetMin() int64

func (*MetricsMessage_Histogram) GetP50

func (m *MetricsMessage_Histogram) GetP50() float64

func (*MetricsMessage_Histogram) GetP75

func (m *MetricsMessage_Histogram) GetP75() float64

func (*MetricsMessage_Histogram) GetP95

func (m *MetricsMessage_Histogram) GetP95() float64

func (*MetricsMessage_Histogram) GetP99

func (m *MetricsMessage_Histogram) GetP99() float64

func (*MetricsMessage_Histogram) GetP999

func (m *MetricsMessage_Histogram) GetP999() float64

func (*MetricsMessage_Histogram) GetP9999

func (m *MetricsMessage_Histogram) GetP9999() float64

func (*MetricsMessage_Histogram) GetStdDev

func (m *MetricsMessage_Histogram) GetStdDev() float64

func (*MetricsMessage_Histogram) GetVariance

func (m *MetricsMessage_Histogram) GetVariance() float64

func (*MetricsMessage_Histogram) ProtoMessage

func (*MetricsMessage_Histogram) ProtoMessage()

func (*MetricsMessage_Histogram) Reset

func (m *MetricsMessage_Histogram) Reset()

func (*MetricsMessage_Histogram) String

func (m *MetricsMessage_Histogram) String() string

func (*MetricsMessage_Histogram) XXX_DiscardUnknown

func (m *MetricsMessage_Histogram) XXX_DiscardUnknown()

func (*MetricsMessage_Histogram) XXX_Marshal

func (m *MetricsMessage_Histogram) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricsMessage_Histogram) XXX_Merge

func (m *MetricsMessage_Histogram) XXX_Merge(src proto.Message)

func (*MetricsMessage_Histogram) XXX_Size

func (m *MetricsMessage_Histogram) XXX_Size() int

func (*MetricsMessage_Histogram) XXX_Unmarshal

func (m *MetricsMessage_Histogram) XXX_Unmarshal(b []byte) error

type MetricsMessage_IntervalBucket

type MetricsMessage_IntervalBucket struct {
	IntervalStartUTC     int64             `protobuf:"varint,1,opt,name=intervalStartUTC,proto3" json:"intervalStartUTC,omitempty"`
	Values               map[string]uint64 `` /* 154-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*MetricsMessage_IntervalBucket) Descriptor

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

func (*MetricsMessage_IntervalBucket) GetIntervalStartUTC

func (m *MetricsMessage_IntervalBucket) GetIntervalStartUTC() int64

func (*MetricsMessage_IntervalBucket) GetValues

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

func (*MetricsMessage_IntervalBucket) ProtoMessage

func (*MetricsMessage_IntervalBucket) ProtoMessage()

func (*MetricsMessage_IntervalBucket) Reset

func (m *MetricsMessage_IntervalBucket) Reset()

func (*MetricsMessage_IntervalBucket) String

func (*MetricsMessage_IntervalBucket) XXX_DiscardUnknown

func (m *MetricsMessage_IntervalBucket) XXX_DiscardUnknown()

func (*MetricsMessage_IntervalBucket) XXX_Marshal

func (m *MetricsMessage_IntervalBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricsMessage_IntervalBucket) XXX_Merge

func (m *MetricsMessage_IntervalBucket) XXX_Merge(src proto.Message)

func (*MetricsMessage_IntervalBucket) XXX_Size

func (m *MetricsMessage_IntervalBucket) XXX_Size() int

func (*MetricsMessage_IntervalBucket) XXX_Unmarshal

func (m *MetricsMessage_IntervalBucket) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

func (*MetricsMessage_IntervalCounter) Descriptor

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

func (*MetricsMessage_IntervalCounter) GetBuckets

func (*MetricsMessage_IntervalCounter) GetIntervalLength

func (m *MetricsMessage_IntervalCounter) GetIntervalLength() uint64

func (*MetricsMessage_IntervalCounter) ProtoMessage

func (*MetricsMessage_IntervalCounter) ProtoMessage()

func (*MetricsMessage_IntervalCounter) Reset

func (m *MetricsMessage_IntervalCounter) Reset()

func (*MetricsMessage_IntervalCounter) String

func (*MetricsMessage_IntervalCounter) XXX_DiscardUnknown

func (m *MetricsMessage_IntervalCounter) XXX_DiscardUnknown()

func (*MetricsMessage_IntervalCounter) XXX_Marshal

func (m *MetricsMessage_IntervalCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricsMessage_IntervalCounter) XXX_Merge

func (m *MetricsMessage_IntervalCounter) XXX_Merge(src proto.Message)

func (*MetricsMessage_IntervalCounter) XXX_Size

func (m *MetricsMessage_IntervalCounter) XXX_Size() int

func (*MetricsMessage_IntervalCounter) XXX_Unmarshal

func (m *MetricsMessage_IntervalCounter) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MetricsMessage_Meter) Descriptor

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

func (*MetricsMessage_Meter) GetCount

func (m *MetricsMessage_Meter) GetCount() int64

func (*MetricsMessage_Meter) GetM15Rate

func (m *MetricsMessage_Meter) GetM15Rate() float64

func (*MetricsMessage_Meter) GetM1Rate

func (m *MetricsMessage_Meter) GetM1Rate() float64

func (*MetricsMessage_Meter) GetM5Rate

func (m *MetricsMessage_Meter) GetM5Rate() float64

func (*MetricsMessage_Meter) GetMeanRate

func (m *MetricsMessage_Meter) GetMeanRate() float64

func (*MetricsMessage_Meter) ProtoMessage

func (*MetricsMessage_Meter) ProtoMessage()

func (*MetricsMessage_Meter) Reset

func (m *MetricsMessage_Meter) Reset()

func (*MetricsMessage_Meter) String

func (m *MetricsMessage_Meter) String() string

func (*MetricsMessage_Meter) XXX_DiscardUnknown

func (m *MetricsMessage_Meter) XXX_DiscardUnknown()

func (*MetricsMessage_Meter) XXX_Marshal

func (m *MetricsMessage_Meter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricsMessage_Meter) XXX_Merge

func (m *MetricsMessage_Meter) XXX_Merge(src proto.Message)

func (*MetricsMessage_Meter) XXX_Size

func (m *MetricsMessage_Meter) XXX_Size() int

func (*MetricsMessage_Meter) XXX_Unmarshal

func (m *MetricsMessage_Meter) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MetricsMessage_Timer) Descriptor added in v0.13.1

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

func (*MetricsMessage_Timer) GetCount added in v0.13.1

func (m *MetricsMessage_Timer) GetCount() int64

func (*MetricsMessage_Timer) GetM15Rate added in v0.13.1

func (m *MetricsMessage_Timer) GetM15Rate() float64

func (*MetricsMessage_Timer) GetM1Rate added in v0.13.1

func (m *MetricsMessage_Timer) GetM1Rate() float64

func (*MetricsMessage_Timer) GetM5Rate added in v0.13.1

func (m *MetricsMessage_Timer) GetM5Rate() float64

func (*MetricsMessage_Timer) GetMax added in v0.13.1

func (m *MetricsMessage_Timer) GetMax() int64

func (*MetricsMessage_Timer) GetMean added in v0.13.1

func (m *MetricsMessage_Timer) GetMean() float64

func (*MetricsMessage_Timer) GetMeanRate added in v0.13.1

func (m *MetricsMessage_Timer) GetMeanRate() float64

func (*MetricsMessage_Timer) GetMin added in v0.13.1

func (m *MetricsMessage_Timer) GetMin() int64

func (*MetricsMessage_Timer) GetP50 added in v0.13.1

func (m *MetricsMessage_Timer) GetP50() float64

func (*MetricsMessage_Timer) GetP75 added in v0.13.1

func (m *MetricsMessage_Timer) GetP75() float64

func (*MetricsMessage_Timer) GetP95 added in v0.13.1

func (m *MetricsMessage_Timer) GetP95() float64

func (*MetricsMessage_Timer) GetP99 added in v0.13.1

func (m *MetricsMessage_Timer) GetP99() float64

func (*MetricsMessage_Timer) GetP999 added in v0.13.1

func (m *MetricsMessage_Timer) GetP999() float64

func (*MetricsMessage_Timer) GetP9999 added in v0.13.1

func (m *MetricsMessage_Timer) GetP9999() float64

func (*MetricsMessage_Timer) GetStdDev added in v0.13.1

func (m *MetricsMessage_Timer) GetStdDev() float64

func (*MetricsMessage_Timer) GetVariance added in v0.13.1

func (m *MetricsMessage_Timer) GetVariance() float64

func (*MetricsMessage_Timer) ProtoMessage added in v0.13.1

func (*MetricsMessage_Timer) ProtoMessage()

func (*MetricsMessage_Timer) Reset added in v0.13.1

func (m *MetricsMessage_Timer) Reset()

func (*MetricsMessage_Timer) String added in v0.13.1

func (m *MetricsMessage_Timer) String() string

func (*MetricsMessage_Timer) XXX_DiscardUnknown added in v0.13.1

func (m *MetricsMessage_Timer) XXX_DiscardUnknown()

func (*MetricsMessage_Timer) XXX_Marshal added in v0.13.1

func (m *MetricsMessage_Timer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricsMessage_Timer) XXX_Merge added in v0.13.1

func (m *MetricsMessage_Timer) XXX_Merge(src proto.Message)

func (*MetricsMessage_Timer) XXX_Size added in v0.13.1

func (m *MetricsMessage_Timer) XXX_Size() int

func (*MetricsMessage_Timer) XXX_Unmarshal added in v0.13.1

func (m *MetricsMessage_Timer) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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