Documentation
¶
Index ¶
- Variables
- type Bucket
- func (*Bucket) Descriptor() ([]byte, []int)
- func (m *Bucket) GetCumulativeCount() uint64
- func (m *Bucket) GetCumulativeCountFloat() float64
- func (m *Bucket) GetExemplar() *Exemplar
- func (m *Bucket) GetUpperBound() float64
- func (*Bucket) ProtoMessage()
- func (m *Bucket) Reset()
- func (m *Bucket) String() string
- func (m *Bucket) XXX_DiscardUnknown()
- func (m *Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bucket) XXX_Merge(src proto.Message)
- func (m *Bucket) XXX_Size() int
- func (m *Bucket) XXX_Unmarshal(b []byte) error
- type BucketSpan
- func (*BucketSpan) Descriptor() ([]byte, []int)
- func (m *BucketSpan) GetLength() uint32
- func (m *BucketSpan) GetOffset() int32
- func (*BucketSpan) ProtoMessage()
- func (m *BucketSpan) Reset()
- func (m *BucketSpan) String() string
- func (m *BucketSpan) XXX_DiscardUnknown()
- func (m *BucketSpan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BucketSpan) XXX_Merge(src proto.Message)
- func (m *BucketSpan) XXX_Size() int
- func (m *BucketSpan) XXX_Unmarshal(b []byte) error
- type Counter
- func (*Counter) Descriptor() ([]byte, []int)
- func (m *Counter) GetExemplar() *Exemplar
- func (m *Counter) GetValue() float64
- func (*Counter) ProtoMessage()
- func (m *Counter) Reset()
- func (m *Counter) String() string
- func (m *Counter) XXX_DiscardUnknown()
- func (m *Counter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Counter) XXX_Merge(src proto.Message)
- func (m *Counter) XXX_Size() int
- func (m *Counter) XXX_Unmarshal(b []byte) error
- type Exemplar
- func (*Exemplar) Descriptor() ([]byte, []int)
- func (m *Exemplar) GetLabel() []*LabelPair
- func (m *Exemplar) GetTimestamp() *timestamp.Timestamp
- func (m *Exemplar) GetValue() float64
- func (*Exemplar) ProtoMessage()
- func (m *Exemplar) Reset()
- func (m *Exemplar) String() string
- func (m *Exemplar) XXX_DiscardUnknown()
- func (m *Exemplar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Exemplar) XXX_Merge(src proto.Message)
- func (m *Exemplar) XXX_Size() int
- func (m *Exemplar) XXX_Unmarshal(b []byte) error
- type Gauge
- func (*Gauge) Descriptor() ([]byte, []int)
- func (m *Gauge) GetValue() float64
- func (*Gauge) ProtoMessage()
- func (m *Gauge) Reset()
- func (m *Gauge) String() string
- func (m *Gauge) XXX_DiscardUnknown()
- func (m *Gauge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Gauge) XXX_Merge(src proto.Message)
- func (m *Gauge) XXX_Size() int
- func (m *Gauge) XXX_Unmarshal(b []byte) error
- type Histogram
- func (*Histogram) Descriptor() ([]byte, []int)
- func (m *Histogram) GetBucket() []*Bucket
- func (m *Histogram) GetNegativeCount() []float64
- func (m *Histogram) GetNegativeDelta() []int64
- func (m *Histogram) GetNegativeSpan() []*BucketSpan
- func (m *Histogram) GetPositiveCount() []float64
- func (m *Histogram) GetPositiveDelta() []int64
- func (m *Histogram) GetPositiveSpan() []*BucketSpan
- func (m *Histogram) GetSampleCount() uint64
- func (m *Histogram) GetSampleCountFloat() float64
- func (m *Histogram) GetSampleSum() float64
- func (m *Histogram) GetSchema() int32
- func (m *Histogram) GetZeroCount() uint64
- func (m *Histogram) GetZeroCountFloat() float64
- func (m *Histogram) GetZeroThreshold() float64
- func (*Histogram) ProtoMessage()
- func (m *Histogram) Reset()
- func (m *Histogram) String() string
- func (m *Histogram) XXX_DiscardUnknown()
- func (m *Histogram) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Histogram) XXX_Merge(src proto.Message)
- func (m *Histogram) XXX_Size() int
- func (m *Histogram) XXX_Unmarshal(b []byte) error
- type LabelPair
- func (*LabelPair) Descriptor() ([]byte, []int)
- func (m *LabelPair) GetName() string
- func (m *LabelPair) GetValue() string
- func (*LabelPair) ProtoMessage()
- func (m *LabelPair) Reset()
- func (m *LabelPair) String() string
- func (m *LabelPair) XXX_DiscardUnknown()
- func (m *LabelPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LabelPair) XXX_Merge(src proto.Message)
- func (m *LabelPair) XXX_Size() int
- func (m *LabelPair) XXX_Unmarshal(b []byte) error
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)
- func (m *Metric) GetCounter() *Counter
- func (m *Metric) GetGauge() *Gauge
- func (m *Metric) GetHistogram() *Histogram
- func (m *Metric) GetLabel() []*LabelPair
- func (m *Metric) GetSummary() *Summary
- func (m *Metric) GetTimestampMs() int64
- func (m *Metric) GetUntyped() *Untyped
- func (*Metric) ProtoMessage()
- func (m *Metric) Reset()
- func (m *Metric) String() string
- func (m *Metric) XXX_DiscardUnknown()
- func (m *Metric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metric) XXX_Merge(src proto.Message)
- func (m *Metric) XXX_Size() int
- func (m *Metric) XXX_Unmarshal(b []byte) error
- type MetricFamily
- func (*MetricFamily) Descriptor() ([]byte, []int)
- func (m *MetricFamily) GetHelp() string
- func (m *MetricFamily) GetMetric() []*Metric
- func (m *MetricFamily) GetName() string
- func (m *MetricFamily) GetType() MetricType
- func (*MetricFamily) ProtoMessage()
- func (m *MetricFamily) Reset()
- func (m *MetricFamily) String() string
- func (m *MetricFamily) XXX_DiscardUnknown()
- func (m *MetricFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetricFamily) XXX_Merge(src proto.Message)
- func (m *MetricFamily) XXX_Size() int
- func (m *MetricFamily) XXX_Unmarshal(b []byte) error
- type MetricType
- type Quantile
- func (*Quantile) Descriptor() ([]byte, []int)
- func (m *Quantile) GetQuantile() float64
- func (m *Quantile) GetValue() float64
- func (*Quantile) ProtoMessage()
- func (m *Quantile) Reset()
- func (m *Quantile) String() string
- func (m *Quantile) XXX_DiscardUnknown()
- func (m *Quantile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Quantile) XXX_Merge(src proto.Message)
- func (m *Quantile) XXX_Size() int
- func (m *Quantile) XXX_Unmarshal(b []byte) error
- type Summary
- func (*Summary) Descriptor() ([]byte, []int)
- func (m *Summary) GetQuantile() []*Quantile
- func (m *Summary) GetSampleCount() uint64
- func (m *Summary) GetSampleSum() float64
- func (*Summary) ProtoMessage()
- func (m *Summary) Reset()
- func (m *Summary) String() string
- func (m *Summary) XXX_DiscardUnknown()
- func (m *Summary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Summary) XXX_Merge(src proto.Message)
- func (m *Summary) XXX_Size() int
- func (m *Summary) XXX_Unmarshal(b []byte) error
- type Untyped
- func (*Untyped) Descriptor() ([]byte, []int)
- func (m *Untyped) GetValue() float64
- func (*Untyped) ProtoMessage()
- func (m *Untyped) Reset()
- func (m *Untyped) String() string
- func (m *Untyped) XXX_DiscardUnknown()
- func (m *Untyped) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Untyped) XXX_Merge(src proto.Message)
- func (m *Untyped) XXX_Size() int
- func (m *Untyped) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var MetricType_name = map[int32]string{
0: "COUNTER",
1: "GAUGE",
2: "SUMMARY",
3: "UNTYPED",
4: "HISTOGRAM",
5: "GAUGE_HISTOGRAM",
}
View Source
var MetricType_value = map[string]int32{
"COUNTER": 0,
"GAUGE": 1,
"SUMMARY": 2,
"UNTYPED": 3,
"HISTOGRAM": 4,
"GAUGE_HISTOGRAM": 5,
}
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket struct {
CumulativeCount *uint64 `protobuf:"varint,1,opt,name=cumulative_count,json=cumulativeCount" json:"cumulative_count,omitempty"`
CumulativeCountFloat *float64 `protobuf:"fixed64,4,opt,name=cumulative_count_float,json=cumulativeCountFloat" json:"cumulative_count_float,omitempty"`
UpperBound *float64 `protobuf:"fixed64,2,opt,name=upper_bound,json=upperBound" json:"upper_bound,omitempty"`
Exemplar *Exemplar `protobuf:"bytes,3,opt,name=exemplar" json:"exemplar,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
A Bucket of a conventional histogram, each of which is treated as an individual counter-like time series by Prometheus.
func (*Bucket) Descriptor ¶
func (*Bucket) GetCumulativeCount ¶
func (*Bucket) GetCumulativeCountFloat ¶ added in v0.3.0
func (*Bucket) GetExemplar ¶ added in v0.2.0
func (*Bucket) GetUpperBound ¶
func (*Bucket) ProtoMessage ¶
func (*Bucket) ProtoMessage()
func (*Bucket) XXX_DiscardUnknown ¶
func (m *Bucket) XXX_DiscardUnknown()
func (*Bucket) XXX_Marshal ¶
func (*Bucket) XXX_Unmarshal ¶
type BucketSpan ¶ added in v0.3.0
type BucketSpan struct {
Offset *int32 `protobuf:"zigzag32,1,opt,name=offset" json:"offset,omitempty"`
Length *uint32 `protobuf:"varint,2,opt,name=length" json:"length,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
A BucketSpan defines a number of consecutive buckets in a native histogram with their offset. Logically, it would be more straightforward to include the bucket counts in the Span. However, the protobuf representation is more compact in the way the data is structured here (with all the buckets in a single array separate from the Spans).
func (*BucketSpan) Descriptor ¶ added in v0.3.0
func (*BucketSpan) Descriptor() ([]byte, []int)
func (*BucketSpan) GetLength ¶ added in v0.3.0
func (m *BucketSpan) GetLength() uint32
func (*BucketSpan) GetOffset ¶ added in v0.3.0
func (m *BucketSpan) GetOffset() int32
func (*BucketSpan) ProtoMessage ¶ added in v0.3.0
func (*BucketSpan) ProtoMessage()
func (*BucketSpan) Reset ¶ added in v0.3.0
func (m *BucketSpan) Reset()
func (*BucketSpan) String ¶ added in v0.3.0
func (m *BucketSpan) String() string
func (*BucketSpan) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *BucketSpan) XXX_DiscardUnknown()
func (*BucketSpan) XXX_Marshal ¶ added in v0.3.0
func (m *BucketSpan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BucketSpan) XXX_Merge ¶ added in v0.3.0
func (m *BucketSpan) XXX_Merge(src proto.Message)
func (*BucketSpan) XXX_Size ¶ added in v0.3.0
func (m *BucketSpan) XXX_Size() int
func (*BucketSpan) XXX_Unmarshal ¶ added in v0.3.0
func (m *BucketSpan) XXX_Unmarshal(b []byte) error
type Counter ¶
type Counter struct {
Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
Exemplar *Exemplar `protobuf:"bytes,2,opt,name=exemplar" json:"exemplar,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Counter) Descriptor ¶
func (*Counter) GetExemplar ¶ added in v0.2.0
func (*Counter) ProtoMessage ¶
func (*Counter) ProtoMessage()
func (*Counter) XXX_DiscardUnknown ¶
func (m *Counter) XXX_DiscardUnknown()
func (*Counter) XXX_Marshal ¶
func (*Counter) XXX_Unmarshal ¶
type Exemplar ¶ added in v0.2.0
type Exemplar struct {
Label []*LabelPair `protobuf:"bytes,1,rep,name=label" json:"label,omitempty"`
Value *float64 `protobuf:"fixed64,2,opt,name=value" json:"value,omitempty"`
Timestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Exemplar) Descriptor ¶ added in v0.2.0
func (*Exemplar) GetTimestamp ¶ added in v0.2.0
func (*Exemplar) ProtoMessage ¶ added in v0.2.0
func (*Exemplar) ProtoMessage()
func (*Exemplar) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *Exemplar) XXX_DiscardUnknown()
func (*Exemplar) XXX_Marshal ¶ added in v0.2.0
func (*Exemplar) XXX_Unmarshal ¶ added in v0.2.0
type Gauge ¶
type Gauge struct {
Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Gauge) Descriptor ¶
func (*Gauge) ProtoMessage ¶
func (*Gauge) ProtoMessage()
func (*Gauge) XXX_DiscardUnknown ¶
func (m *Gauge) XXX_DiscardUnknown()
func (*Gauge) XXX_Marshal ¶
func (*Gauge) XXX_Unmarshal ¶
type Histogram ¶
type Histogram struct {
SampleCount *uint64 `protobuf:"varint,1,opt,name=sample_count,json=sampleCount" json:"sample_count,omitempty"`
SampleCountFloat *float64 `protobuf:"fixed64,4,opt,name=sample_count_float,json=sampleCountFloat" json:"sample_count_float,omitempty"`
SampleSum *float64 `protobuf:"fixed64,2,opt,name=sample_sum,json=sampleSum" json:"sample_sum,omitempty"`
// Buckets for the conventional histogram.
Bucket []*Bucket `protobuf:"bytes,3,rep,name=bucket" json:"bucket,omitempty"`
// schema defines the bucket schema. Currently, valid numbers are -4 <= n <= 8.
// They are all for base-2 bucket schemas, where 1 is a bucket boundary in each case, and
// then each power of two is divided into 2^n logarithmic buckets.
// Or in other words, each bucket boundary is the previous boundary times 2^(2^-n).
// In the future, more bucket schemas may be added using numbers < -4 or > 8.
Schema *int32 `protobuf:"zigzag32,5,opt,name=schema" json:"schema,omitempty"`
ZeroThreshold *float64 `protobuf:"fixed64,6,opt,name=zero_threshold,json=zeroThreshold" json:"zero_threshold,omitempty"`
ZeroCount *uint64 `protobuf:"varint,7,opt,name=zero_count,json=zeroCount" json:"zero_count,omitempty"`
ZeroCountFloat *float64 `protobuf:"fixed64,8,opt,name=zero_count_float,json=zeroCountFloat" json:"zero_count_float,omitempty"`
// Negative buckets for the native histogram.
NegativeSpan []*BucketSpan `protobuf:"bytes,9,rep,name=negative_span,json=negativeSpan" json:"negative_span,omitempty"`
// Use either "negative_delta" or "negative_count", the former for
// regular histograms with integer counts, the latter for float
// histograms.
NegativeDelta []int64 `protobuf:"zigzag64,10,rep,name=negative_delta,json=negativeDelta" json:"negative_delta,omitempty"`
NegativeCount []float64 `protobuf:"fixed64,11,rep,name=negative_count,json=negativeCount" json:"negative_count,omitempty"`
// Positive buckets for the native histogram.
PositiveSpan []*BucketSpan `protobuf:"bytes,12,rep,name=positive_span,json=positiveSpan" json:"positive_span,omitempty"`
// Use either "positive_delta" or "positive_count", the former for
// regular histograms with integer counts, the latter for float
// histograms.
PositiveDelta []int64 `protobuf:"zigzag64,13,rep,name=positive_delta,json=positiveDelta" json:"positive_delta,omitempty"`
PositiveCount []float64 `protobuf:"fixed64,14,rep,name=positive_count,json=positiveCount" json:"positive_count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Histogram) Descriptor ¶
func (*Histogram) GetNegativeCount ¶ added in v0.3.0
func (*Histogram) GetNegativeDelta ¶ added in v0.3.0
func (*Histogram) GetNegativeSpan ¶ added in v0.3.0
func (m *Histogram) GetNegativeSpan() []*BucketSpan
func (*Histogram) GetPositiveCount ¶ added in v0.3.0
func (*Histogram) GetPositiveDelta ¶ added in v0.3.0
func (*Histogram) GetPositiveSpan ¶ added in v0.3.0
func (m *Histogram) GetPositiveSpan() []*BucketSpan
func (*Histogram) GetSampleCount ¶
func (*Histogram) GetSampleCountFloat ¶ added in v0.3.0
func (*Histogram) GetSampleSum ¶
func (*Histogram) GetZeroCount ¶ added in v0.3.0
func (*Histogram) GetZeroCountFloat ¶ added in v0.3.0
func (*Histogram) GetZeroThreshold ¶ added in v0.3.0
func (*Histogram) ProtoMessage ¶
func (*Histogram) ProtoMessage()
func (*Histogram) XXX_DiscardUnknown ¶
func (m *Histogram) XXX_DiscardUnknown()
func (*Histogram) XXX_Marshal ¶
func (*Histogram) XXX_Unmarshal ¶
type LabelPair ¶
type LabelPair struct {
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*LabelPair) Descriptor ¶
func (*LabelPair) ProtoMessage ¶
func (*LabelPair) ProtoMessage()
func (*LabelPair) XXX_DiscardUnknown ¶
func (m *LabelPair) XXX_DiscardUnknown()
func (*LabelPair) XXX_Marshal ¶
func (*LabelPair) XXX_Unmarshal ¶
type Metric ¶
type Metric struct {
Label []*LabelPair `protobuf:"bytes,1,rep,name=label" json:"label,omitempty"`
Gauge *Gauge `protobuf:"bytes,2,opt,name=gauge" json:"gauge,omitempty"`
Counter *Counter `protobuf:"bytes,3,opt,name=counter" json:"counter,omitempty"`
Summary *Summary `protobuf:"bytes,4,opt,name=summary" json:"summary,omitempty"`
Untyped *Untyped `protobuf:"bytes,5,opt,name=untyped" json:"untyped,omitempty"`
Histogram *Histogram `protobuf:"bytes,7,opt,name=histogram" json:"histogram,omitempty"`
TimestampMs *int64 `protobuf:"varint,6,opt,name=timestamp_ms,json=timestampMs" json:"timestamp_ms,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Metric) Descriptor ¶
func (*Metric) GetCounter ¶
func (*Metric) GetHistogram ¶
func (*Metric) GetSummary ¶
func (*Metric) GetTimestampMs ¶
func (*Metric) GetUntyped ¶
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) XXX_DiscardUnknown ¶
func (m *Metric) XXX_DiscardUnknown()
func (*Metric) XXX_Marshal ¶
func (*Metric) XXX_Unmarshal ¶
type MetricFamily ¶
type MetricFamily struct {
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Help *string `protobuf:"bytes,2,opt,name=help" json:"help,omitempty"`
Type *MetricType `protobuf:"varint,3,opt,name=type,enum=io.prometheus.client.MetricType" json:"type,omitempty"`
Metric []*Metric `protobuf:"bytes,4,rep,name=metric" json:"metric,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MetricFamily) Descriptor ¶
func (*MetricFamily) Descriptor() ([]byte, []int)
func (*MetricFamily) GetHelp ¶
func (m *MetricFamily) GetHelp() string
func (*MetricFamily) GetMetric ¶
func (m *MetricFamily) GetMetric() []*Metric
func (*MetricFamily) GetName ¶
func (m *MetricFamily) GetName() string
func (*MetricFamily) GetType ¶
func (m *MetricFamily) GetType() MetricType
func (*MetricFamily) ProtoMessage ¶
func (*MetricFamily) ProtoMessage()
func (*MetricFamily) Reset ¶
func (m *MetricFamily) Reset()
func (*MetricFamily) String ¶
func (m *MetricFamily) String() string
func (*MetricFamily) XXX_DiscardUnknown ¶
func (m *MetricFamily) XXX_DiscardUnknown()
func (*MetricFamily) XXX_Marshal ¶
func (m *MetricFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetricFamily) XXX_Merge ¶
func (m *MetricFamily) XXX_Merge(src proto.Message)
func (*MetricFamily) XXX_Size ¶
func (m *MetricFamily) XXX_Size() int
func (*MetricFamily) XXX_Unmarshal ¶
func (m *MetricFamily) XXX_Unmarshal(b []byte) error
type MetricType ¶
type MetricType int32
const ( // COUNTER must use the Metric field "counter". MetricType_COUNTER MetricType = 0 // GAUGE must use the Metric field "gauge". MetricType_GAUGE MetricType = 1 // SUMMARY must use the Metric field "summary". MetricType_SUMMARY MetricType = 2 // UNTYPED must use the Metric field "untyped". MetricType_UNTYPED MetricType = 3 // HISTOGRAM must use the Metric field "histogram". MetricType_HISTOGRAM MetricType = 4 // GAUGE_HISTOGRAM must use the Metric field "histogram". MetricType_GAUGE_HISTOGRAM MetricType = 5 )
func (MetricType) Enum ¶
func (x MetricType) Enum() *MetricType
func (MetricType) EnumDescriptor ¶
func (MetricType) EnumDescriptor() ([]byte, []int)
func (MetricType) String ¶
func (x MetricType) String() string
func (*MetricType) UnmarshalJSON ¶
func (x *MetricType) UnmarshalJSON(data []byte) error
type Quantile ¶
type Quantile struct {
Quantile *float64 `protobuf:"fixed64,1,opt,name=quantile" json:"quantile,omitempty"`
Value *float64 `protobuf:"fixed64,2,opt,name=value" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Quantile) Descriptor ¶
func (*Quantile) GetQuantile ¶
func (*Quantile) ProtoMessage ¶
func (*Quantile) ProtoMessage()
func (*Quantile) XXX_DiscardUnknown ¶
func (m *Quantile) XXX_DiscardUnknown()
func (*Quantile) XXX_Marshal ¶
func (*Quantile) XXX_Unmarshal ¶
type Summary ¶
type Summary struct {
SampleCount *uint64 `protobuf:"varint,1,opt,name=sample_count,json=sampleCount" json:"sample_count,omitempty"`
SampleSum *float64 `protobuf:"fixed64,2,opt,name=sample_sum,json=sampleSum" json:"sample_sum,omitempty"`
Quantile []*Quantile `protobuf:"bytes,3,rep,name=quantile" json:"quantile,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Summary) Descriptor ¶
func (*Summary) GetQuantile ¶
func (*Summary) GetSampleCount ¶
func (*Summary) GetSampleSum ¶
func (*Summary) ProtoMessage ¶
func (*Summary) ProtoMessage()
func (*Summary) XXX_DiscardUnknown ¶
func (m *Summary) XXX_DiscardUnknown()
func (*Summary) XXX_Marshal ¶
func (*Summary) XXX_Unmarshal ¶
type Untyped ¶
type Untyped struct {
Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Untyped) Descriptor ¶
func (*Untyped) ProtoMessage ¶
func (*Untyped) ProtoMessage()
func (*Untyped) XXX_DiscardUnknown ¶
func (m *Untyped) XXX_DiscardUnknown()
func (*Untyped) XXX_Marshal ¶
func (*Untyped) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.