Documentation ¶
Index ¶
- Variables
- type CounterValue
- func (*CounterValue) Descriptor() ([]byte, []int)deprecated
- func (x *CounterValue) GetDoubleValue() float64
- func (x *CounterValue) GetIntValue() uint64
- func (m *CounterValue) GetTotal() isCounterValue_Total
- func (*CounterValue) ProtoMessage()
- func (x *CounterValue) ProtoReflect() protoreflect.Message
- func (x *CounterValue) Reset()
- func (x *CounterValue) String() string
- type CounterValue_DoubleValue
- type CounterValue_IntValue
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetId() string
- func (x *Event) GetLabels() []*Label
- func (x *Event) GetTimestamp() *timestamppb.Timestamp
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type GaugeValue
- func (*GaugeValue) Descriptor() ([]byte, []int)deprecated
- func (x *GaugeValue) GetDoubleValue() float64
- func (x *GaugeValue) GetIntValue() int64
- func (m *GaugeValue) GetValue() isGaugeValue_Value
- func (*GaugeValue) ProtoMessage()
- func (x *GaugeValue) ProtoReflect() protoreflect.Message
- func (x *GaugeValue) Reset()
- func (x *GaugeValue) String() string
- type GaugeValue_DoubleValue
- type GaugeValue_IntValue
- type HistogramValue
- func (*HistogramValue) Descriptor() ([]byte, []int)deprecated
- func (x *HistogramValue) GetBuckets() []*HistogramValue_Bucket
- func (x *HistogramValue) GetCount() uint64
- func (x *HistogramValue) GetDoubleValue() float64
- func (x *HistogramValue) GetIntValue() int64
- func (m *HistogramValue) GetSum() isHistogramValue_Sum
- func (*HistogramValue) ProtoMessage()
- func (x *HistogramValue) ProtoReflect() protoreflect.Message
- func (x *HistogramValue) Reset()
- func (x *HistogramValue) String() string
- type HistogramValue_Bucket
- func (*HistogramValue_Bucket) Descriptor() ([]byte, []int)deprecated
- func (x *HistogramValue_Bucket) GetCount() uint64
- func (x *HistogramValue_Bucket) GetUpperBound() float64
- func (*HistogramValue_Bucket) ProtoMessage()
- func (x *HistogramValue_Bucket) ProtoReflect() protoreflect.Message
- func (x *HistogramValue_Bucket) Reset()
- func (x *HistogramValue_Bucket) String() string
- type HistogramValue_DoubleValue
- type HistogramValue_IntValue
- type Label
- type Sample
- func (*Sample) Descriptor() ([]byte, []int)deprecated
- func (x *Sample) GetCounterValue() *CounterValue
- func (x *Sample) GetGaugeValue() *GaugeValue
- func (x *Sample) GetHistogramValue() *HistogramValue
- func (x *Sample) GetTimestamp() *timestamppb.Timestamp
- func (m *Sample) GetValue() isSample_Value
- func (*Sample) ProtoMessage()
- func (x *Sample) ProtoReflect() protoreflect.Message
- func (x *Sample) Reset()
- func (x *Sample) String() string
- type Sample_CounterValue
- type Sample_GaugeValue
- type Sample_HistogramValue
- type TimeSeries
- func (*TimeSeries) Descriptor() ([]byte, []int)deprecated
- func (x *TimeSeries) GetLabels() []*Label
- func (x *TimeSeries) GetSamples() []*Sample
- func (*TimeSeries) ProtoMessage()
- func (x *TimeSeries) ProtoReflect() protoreflect.Message
- func (x *TimeSeries) Reset()
- func (x *TimeSeries) String() string
- type TimeSeriesFamily
- func (*TimeSeriesFamily) Descriptor() ([]byte, []int)deprecated
- func (x *TimeSeriesFamily) GetHelp() string
- func (x *TimeSeriesFamily) GetName() string
- func (x *TimeSeriesFamily) GetTimeSeries() []*TimeSeries
- func (x *TimeSeriesFamily) GetType() TimeSeriesFamily_Type
- func (x *TimeSeriesFamily) GetUnit() string
- func (*TimeSeriesFamily) ProtoMessage()
- func (x *TimeSeriesFamily) ProtoReflect() protoreflect.Message
- func (x *TimeSeriesFamily) Reset()
- func (x *TimeSeriesFamily) String() string
- type TimeSeriesFamily_Type
- func (TimeSeriesFamily_Type) Descriptor() protoreflect.EnumDescriptor
- func (x TimeSeriesFamily_Type) Enum() *TimeSeriesFamily_Type
- func (TimeSeriesFamily_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x TimeSeriesFamily_Type) Number() protoreflect.EnumNumber
- func (x TimeSeriesFamily_Type) String() string
- func (TimeSeriesFamily_Type) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( TimeSeriesFamily_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "GAUGE", 2: "COUNTER", 3: "HISTOGRAM", } TimeSeriesFamily_Type_value = map[string]int32{ "UNKNOWN": 0, "GAUGE": 1, "COUNTER": 2, "HISTOGRAM": 3, } )
Enum value maps for TimeSeriesFamily_Type.
var File_gpu_ninja_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CounterValue ¶
type CounterValue struct { // Types that are assignable to Total: // // *CounterValue_DoubleValue // *CounterValue_IntValue Total isCounterValue_Total `protobuf_oneof:"total"` // contains filtered or unexported fields }
func (*CounterValue) Descriptor
deprecated
func (*CounterValue) Descriptor() ([]byte, []int)
Deprecated: Use CounterValue.ProtoReflect.Descriptor instead.
func (*CounterValue) GetDoubleValue ¶
func (x *CounterValue) GetDoubleValue() float64
func (*CounterValue) GetIntValue ¶
func (x *CounterValue) GetIntValue() uint64
func (*CounterValue) GetTotal ¶
func (m *CounterValue) GetTotal() isCounterValue_Total
func (*CounterValue) ProtoMessage ¶
func (*CounterValue) ProtoMessage()
func (*CounterValue) ProtoReflect ¶
func (x *CounterValue) ProtoReflect() protoreflect.Message
func (*CounterValue) Reset ¶
func (x *CounterValue) Reset()
func (*CounterValue) String ¶
func (x *CounterValue) String() string
type CounterValue_DoubleValue ¶
type CounterValue_DoubleValue struct {
DoubleValue float64 `protobuf:"fixed64,1,opt,name=double_value,json=doubleValue,proto3,oneof"`
}
type CounterValue_IntValue ¶
type CounterValue_IntValue struct {
IntValue uint64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}
type Event ¶
type Event struct { // The unique identifier for this event. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The labels associated with this event. Labels []*Label `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"` // The time when this event was recorded. Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
Event is a single discrete event.
func (*Event) Descriptor
deprecated
func (*Event) GetTimestamp ¶
func (x *Event) GetTimestamp() *timestamppb.Timestamp
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type GaugeValue ¶
type GaugeValue struct { // Types that are assignable to Value: // // *GaugeValue_DoubleValue // *GaugeValue_IntValue Value isGaugeValue_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*GaugeValue) Descriptor
deprecated
func (*GaugeValue) Descriptor() ([]byte, []int)
Deprecated: Use GaugeValue.ProtoReflect.Descriptor instead.
func (*GaugeValue) GetDoubleValue ¶
func (x *GaugeValue) GetDoubleValue() float64
func (*GaugeValue) GetIntValue ¶
func (x *GaugeValue) GetIntValue() int64
func (*GaugeValue) GetValue ¶
func (m *GaugeValue) GetValue() isGaugeValue_Value
func (*GaugeValue) ProtoMessage ¶
func (*GaugeValue) ProtoMessage()
func (*GaugeValue) ProtoReflect ¶
func (x *GaugeValue) ProtoReflect() protoreflect.Message
func (*GaugeValue) Reset ¶
func (x *GaugeValue) Reset()
func (*GaugeValue) String ¶
func (x *GaugeValue) String() string
type GaugeValue_DoubleValue ¶
type GaugeValue_DoubleValue struct {
DoubleValue float64 `protobuf:"fixed64,1,opt,name=double_value,json=doubleValue,proto3,oneof"`
}
type GaugeValue_IntValue ¶
type GaugeValue_IntValue struct {
IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}
type HistogramValue ¶
type HistogramValue struct { // Types that are assignable to Sum: // // *HistogramValue_DoubleValue // *HistogramValue_IntValue Sum isHistogramValue_Sum `protobuf_oneof:"sum"` Count uint64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` Buckets []*HistogramValue_Bucket `protobuf:"bytes,4,rep,name=buckets,proto3" json:"buckets,omitempty"` // contains filtered or unexported fields }
func (*HistogramValue) Descriptor
deprecated
func (*HistogramValue) Descriptor() ([]byte, []int)
Deprecated: Use HistogramValue.ProtoReflect.Descriptor instead.
func (*HistogramValue) GetBuckets ¶
func (x *HistogramValue) GetBuckets() []*HistogramValue_Bucket
func (*HistogramValue) GetCount ¶
func (x *HistogramValue) GetCount() uint64
func (*HistogramValue) GetDoubleValue ¶
func (x *HistogramValue) GetDoubleValue() float64
func (*HistogramValue) GetIntValue ¶
func (x *HistogramValue) GetIntValue() int64
func (*HistogramValue) GetSum ¶
func (m *HistogramValue) GetSum() isHistogramValue_Sum
func (*HistogramValue) ProtoMessage ¶
func (*HistogramValue) ProtoMessage()
func (*HistogramValue) ProtoReflect ¶
func (x *HistogramValue) ProtoReflect() protoreflect.Message
func (*HistogramValue) Reset ¶
func (x *HistogramValue) Reset()
func (*HistogramValue) String ¶
func (x *HistogramValue) String() string
type HistogramValue_Bucket ¶
type HistogramValue_Bucket struct { Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` UpperBound float64 `protobuf:"fixed64,2,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"` // contains filtered or unexported fields }
func (*HistogramValue_Bucket) Descriptor
deprecated
func (*HistogramValue_Bucket) Descriptor() ([]byte, []int)
Deprecated: Use HistogramValue_Bucket.ProtoReflect.Descriptor instead.
func (*HistogramValue_Bucket) GetCount ¶
func (x *HistogramValue_Bucket) GetCount() uint64
func (*HistogramValue_Bucket) GetUpperBound ¶
func (x *HistogramValue_Bucket) GetUpperBound() float64
func (*HistogramValue_Bucket) ProtoMessage ¶
func (*HistogramValue_Bucket) ProtoMessage()
func (*HistogramValue_Bucket) ProtoReflect ¶
func (x *HistogramValue_Bucket) ProtoReflect() protoreflect.Message
func (*HistogramValue_Bucket) Reset ¶
func (x *HistogramValue_Bucket) Reset()
func (*HistogramValue_Bucket) String ¶
func (x *HistogramValue_Bucket) String() string
type HistogramValue_DoubleValue ¶
type HistogramValue_DoubleValue struct {
DoubleValue float64 `protobuf:"fixed64,1,opt,name=double_value,json=doubleValue,proto3,oneof"`
}
type HistogramValue_IntValue ¶
type HistogramValue_IntValue struct {
IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}
type Label ¶
type Label struct { // The key of the label. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The value of the label. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Label is a key-value pair that can be used to tag and filter timeseries / events.
func (*Label) Descriptor
deprecated
func (*Label) ProtoMessage ¶
func (*Label) ProtoMessage()
func (*Label) ProtoReflect ¶
func (x *Label) ProtoReflect() protoreflect.Message
type Sample ¶
type Sample struct { // The time when this data point was recorded. Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // The value of the data point. // // Types that are assignable to Value: // // *Sample_GaugeValue // *Sample_CounterValue // *Sample_HistogramValue Value isSample_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
Sample is a single data point in a timeseries.
func (*Sample) Descriptor
deprecated
func (*Sample) GetCounterValue ¶
func (x *Sample) GetCounterValue() *CounterValue
func (*Sample) GetGaugeValue ¶
func (x *Sample) GetGaugeValue() *GaugeValue
func (*Sample) GetHistogramValue ¶
func (x *Sample) GetHistogramValue() *HistogramValue
func (*Sample) GetTimestamp ¶
func (x *Sample) GetTimestamp() *timestamppb.Timestamp
func (*Sample) ProtoMessage ¶
func (*Sample) ProtoMessage()
func (*Sample) ProtoReflect ¶
func (x *Sample) ProtoReflect() protoreflect.Message
type Sample_CounterValue ¶
type Sample_CounterValue struct {
CounterValue *CounterValue `protobuf:"bytes,3,opt,name=counter_value,json=counterValue,proto3,oneof"`
}
type Sample_GaugeValue ¶
type Sample_GaugeValue struct {
GaugeValue *GaugeValue `protobuf:"bytes,2,opt,name=gauge_value,json=gaugeValue,proto3,oneof"`
}
type Sample_HistogramValue ¶
type Sample_HistogramValue struct {
HistogramValue *HistogramValue `protobuf:"bytes,4,opt,name=histogram_value,json=histogramValue,proto3,oneof"`
}
type TimeSeries ¶
type TimeSeries struct { // The labels associated with this timeseries. Labels []*Label `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` // The data points in this timeseries. Samples []*Sample `protobuf:"bytes,2,rep,name=samples,proto3" json:"samples,omitempty"` // contains filtered or unexported fields }
TimeSeries is a collection of data points that share the same labels.
func (*TimeSeries) Descriptor
deprecated
func (*TimeSeries) Descriptor() ([]byte, []int)
Deprecated: Use TimeSeries.ProtoReflect.Descriptor instead.
func (*TimeSeries) GetLabels ¶
func (x *TimeSeries) GetLabels() []*Label
func (*TimeSeries) GetSamples ¶
func (x *TimeSeries) GetSamples() []*Sample
func (*TimeSeries) ProtoMessage ¶
func (*TimeSeries) ProtoMessage()
func (*TimeSeries) ProtoReflect ¶
func (x *TimeSeries) ProtoReflect() protoreflect.Message
func (*TimeSeries) Reset ¶
func (x *TimeSeries) Reset()
func (*TimeSeries) String ¶
func (x *TimeSeries) String() string
type TimeSeriesFamily ¶
type TimeSeriesFamily struct { // The name of the timeseries family. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // An optional type for the timeseries family. Type TimeSeriesFamily_Type `protobuf:"varint,2,opt,name=type,proto3,enum=gpu_ninja.v1alpha1.TimeSeriesFamily_Type" json:"type,omitempty"` // An optional unit for the timeseries family. Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"` // Optional help text for the timeseries family. Help string `protobuf:"bytes,4,opt,name=help,proto3" json:"help,omitempty"` // The timeseries in this family. TimeSeries []*TimeSeries `protobuf:"bytes,5,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` // contains filtered or unexported fields }
func (*TimeSeriesFamily) Descriptor
deprecated
func (*TimeSeriesFamily) Descriptor() ([]byte, []int)
Deprecated: Use TimeSeriesFamily.ProtoReflect.Descriptor instead.
func (*TimeSeriesFamily) GetHelp ¶
func (x *TimeSeriesFamily) GetHelp() string
func (*TimeSeriesFamily) GetName ¶
func (x *TimeSeriesFamily) GetName() string
func (*TimeSeriesFamily) GetTimeSeries ¶
func (x *TimeSeriesFamily) GetTimeSeries() []*TimeSeries
func (*TimeSeriesFamily) GetType ¶
func (x *TimeSeriesFamily) GetType() TimeSeriesFamily_Type
func (*TimeSeriesFamily) GetUnit ¶
func (x *TimeSeriesFamily) GetUnit() string
func (*TimeSeriesFamily) ProtoMessage ¶
func (*TimeSeriesFamily) ProtoMessage()
func (*TimeSeriesFamily) ProtoReflect ¶
func (x *TimeSeriesFamily) ProtoReflect() protoreflect.Message
func (*TimeSeriesFamily) Reset ¶
func (x *TimeSeriesFamily) Reset()
func (*TimeSeriesFamily) String ¶
func (x *TimeSeriesFamily) String() string
type TimeSeriesFamily_Type ¶
type TimeSeriesFamily_Type int32
const ( TimeSeriesFamily_UNKNOWN TimeSeriesFamily_Type = 0 TimeSeriesFamily_GAUGE TimeSeriesFamily_Type = 1 TimeSeriesFamily_COUNTER TimeSeriesFamily_Type = 2 TimeSeriesFamily_HISTOGRAM TimeSeriesFamily_Type = 3 )
func (TimeSeriesFamily_Type) Descriptor ¶
func (TimeSeriesFamily_Type) Descriptor() protoreflect.EnumDescriptor
func (TimeSeriesFamily_Type) Enum ¶
func (x TimeSeriesFamily_Type) Enum() *TimeSeriesFamily_Type
func (TimeSeriesFamily_Type) EnumDescriptor
deprecated
func (TimeSeriesFamily_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use TimeSeriesFamily_Type.Descriptor instead.
func (TimeSeriesFamily_Type) Number ¶
func (x TimeSeriesFamily_Type) Number() protoreflect.EnumNumber
func (TimeSeriesFamily_Type) String ¶
func (x TimeSeriesFamily_Type) String() string
func (TimeSeriesFamily_Type) Type ¶
func (TimeSeriesFamily_Type) Type() protoreflect.EnumType