pb

package
v0.0.0-...-a146900 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pb_metrics_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Metric

type Metric struct {
	Name         string                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Measurements []*Metric_Measurement `protobuf:"bytes,2,rep,name=measurements,proto3" json:"measurements,omitempty"`
	// contains filtered or unexported fields
}

func (*Metric) Descriptor deprecated

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

Deprecated: Use Metric.ProtoReflect.Descriptor instead.

func (*Metric) GetMeasurements

func (x *Metric) GetMeasurements() []*Metric_Measurement

func (*Metric) GetName

func (x *Metric) GetName() string

func (*Metric) ProtoMessage

func (*Metric) ProtoMessage()

func (*Metric) ProtoReflect

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

func (*Metric) Reset

func (x *Metric) Reset()

func (*Metric) String

func (x *Metric) String() string

type Metric_Label

type Metric_Label struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Metric_Label) Descriptor deprecated

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

Deprecated: Use Metric_Label.ProtoReflect.Descriptor instead.

func (*Metric_Label) GetName

func (x *Metric_Label) GetName() string

func (*Metric_Label) GetValue

func (x *Metric_Label) GetValue() string

func (*Metric_Label) ProtoMessage

func (*Metric_Label) ProtoMessage()

func (*Metric_Label) ProtoReflect

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

func (*Metric_Label) Reset

func (x *Metric_Label) Reset()

func (*Metric_Label) String

func (x *Metric_Label) String() string

type Metric_Measurement

type Metric_Measurement struct {
	Value  float64         `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	Labels []*Metric_Label `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*Metric_Measurement) Descriptor deprecated

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

Deprecated: Use Metric_Measurement.ProtoReflect.Descriptor instead.

func (*Metric_Measurement) GetLabels

func (x *Metric_Measurement) GetLabels() []*Metric_Label

func (*Metric_Measurement) GetValue

func (x *Metric_Measurement) GetValue() float64

func (*Metric_Measurement) ProtoMessage

func (*Metric_Measurement) ProtoMessage()

func (*Metric_Measurement) ProtoReflect

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

func (*Metric_Measurement) Reset

func (x *Metric_Measurement) Reset()

func (*Metric_Measurement) String

func (x *Metric_Measurement) String() string

type MetricsBatch

type MetricsBatch struct {
	Metrics []*Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsBatch) Descriptor deprecated

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

Deprecated: Use MetricsBatch.ProtoReflect.Descriptor instead.

func (*MetricsBatch) GetMetrics

func (x *MetricsBatch) GetMetrics() []*Metric

func (*MetricsBatch) ProtoMessage

func (*MetricsBatch) ProtoMessage()

func (*MetricsBatch) ProtoReflect

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

func (*MetricsBatch) Reset

func (x *MetricsBatch) Reset()

func (*MetricsBatch) String

func (x *MetricsBatch) String() string

Jump to

Keyboard shortcuts

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