Documentation
¶
Index ¶
- Variables
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)deprecated
- func (x *Metric) GetAt() *timestamppb.Timestamp
- func (x *Metric) GetLabels() map[string]string
- func (x *Metric) GetName() string
- func (x *Metric) GetValue() float64
- func (*Metric) ProtoMessage()
- func (x *Metric) ProtoReflect() protoreflect.Message
- func (x *Metric) Reset()
- func (x *Metric) String() string
- type MetricBatch
Constants ¶
This section is empty.
Variables ¶
View Source
var File_ampy_metrics_v1_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"`
Labels map[string]string `` /* 139-byte string literal not displayed */
Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"`
At *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=at,proto3" json:"at,omitempty"`
// contains filtered or unexported fields
}
func (*Metric) Descriptor
deprecated
func (*Metric) GetAt ¶
func (x *Metric) GetAt() *timestamppb.Timestamp
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) ProtoReflect ¶
func (x *Metric) ProtoReflect() protoreflect.Message
type MetricBatch ¶
type MetricBatch struct {
Metrics []*Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
// contains filtered or unexported fields
}
func (*MetricBatch) Descriptor
deprecated
func (*MetricBatch) Descriptor() ([]byte, []int)
Deprecated: Use MetricBatch.ProtoReflect.Descriptor instead.
func (*MetricBatch) GetMetrics ¶
func (x *MetricBatch) GetMetrics() []*Metric
func (*MetricBatch) ProtoMessage ¶
func (*MetricBatch) ProtoMessage()
func (*MetricBatch) ProtoReflect ¶
func (x *MetricBatch) ProtoReflect() protoreflect.Message
func (*MetricBatch) Reset ¶
func (x *MetricBatch) Reset()
func (*MetricBatch) String ¶
func (x *MetricBatch) String() string
Click to show internal directories.
Click to hide internal directories.