package io_prometheus_client
import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/prometheus/client_model/go"
Package io_prometheus_client is a generated protocol buffer package.
It is generated from these files:
metrics.proto
It has these top-level messages:
LabelPair Gauge Counter Quantile Summary Untyped Metric MetricFamily
Index ¶
- Variables
- type Counter
- func (m *Counter) GetValue() float64
- func (*Counter) ProtoMessage()
- func (m *Counter) Reset()
- func (m *Counter) String() string
- type Gauge
- func (m *Gauge) GetValue() float64
- func (*Gauge) ProtoMessage()
- func (m *Gauge) Reset()
- func (m *Gauge) String() string
- type LabelPair
- func (m *LabelPair) GetName() string
- func (m *LabelPair) GetValue() string
- func (*LabelPair) ProtoMessage()
- func (m *LabelPair) Reset()
- func (m *LabelPair) String() string
- type Metric
- func (m *Metric) GetCounter() *Counter
- func (m *Metric) GetGauge() *Gauge
- 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
- type MetricFamily
- 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
- type MetricType
- func (x MetricType) Enum() *MetricType
- func (x MetricType) String() string
- func (x *MetricType) UnmarshalJSON(data []byte) error
- type Quantile
- func (m *Quantile) GetQuantile() float64
- func (m *Quantile) GetValue() float64
- func (*Quantile) ProtoMessage()
- func (m *Quantile) Reset()
- func (m *Quantile) String() string
- type Summary
- 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
- type Untyped
Variables ¶
Types ¶
type Counter ¶
type Counter struct { Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Counter) GetValue ¶
func (*Counter) ProtoMessage ¶
func (*Counter) ProtoMessage()
func (*Counter) Reset ¶
func (m *Counter) Reset()
func (*Counter) String ¶
type Gauge ¶
type Gauge struct { Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Gauge) GetValue ¶
func (*Gauge) ProtoMessage ¶
func (*Gauge) ProtoMessage()
func (*Gauge) Reset ¶
func (m *Gauge) Reset()
func (*Gauge) String ¶
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_unrecognized []byte `json:"-"` }
func (*LabelPair) GetName ¶
func (*LabelPair) GetValue ¶
func (*LabelPair) ProtoMessage ¶
func (*LabelPair) ProtoMessage()
func (*LabelPair) Reset ¶
func (m *LabelPair) Reset()
func (*LabelPair) String ¶
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"` TimestampMs *int64 `protobuf:"varint,6,opt,name=timestamp_ms" json:"timestamp_ms,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Metric) GetCounter ¶
func (*Metric) GetGauge ¶
func (*Metric) GetLabel ¶
func (*Metric) GetSummary ¶
func (*Metric) GetTimestampMs ¶
func (*Metric) GetUntyped ¶
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) Reset ¶
func (m *Metric) Reset()
func (*Metric) String ¶
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_unrecognized []byte `json:"-"` }
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
type MetricType ¶
type MetricType int32
const ( MetricType_COUNTER MetricType = 0 MetricType_GAUGE MetricType = 1 MetricType_SUMMARY MetricType = 2 MetricType_UNTYPED MetricType = 3 )
func (MetricType) Enum ¶
func (x MetricType) Enum() *MetricType
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_unrecognized []byte `json:"-"` }
func (*Quantile) GetQuantile ¶
func (*Quantile) GetValue ¶
func (*Quantile) ProtoMessage ¶
func (*Quantile) ProtoMessage()
func (*Quantile) Reset ¶
func (m *Quantile) Reset()
func (*Quantile) String ¶
type Summary ¶
type Summary struct { SampleCount *uint64 `protobuf:"varint,1,opt,name=sample_count" json:"sample_count,omitempty"` SampleSum *float64 `protobuf:"fixed64,2,opt,name=sample_sum" json:"sample_sum,omitempty"` Quantile []*Quantile `protobuf:"bytes,3,rep,name=quantile" json:"quantile,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Summary) GetQuantile ¶
func (*Summary) GetSampleCount ¶
func (*Summary) GetSampleSum ¶
func (*Summary) ProtoMessage ¶
func (*Summary) ProtoMessage()
func (*Summary) Reset ¶
func (m *Summary) Reset()
func (*Summary) String ¶
type Untyped ¶
type Untyped struct { Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Untyped) GetValue ¶
func (*Untyped) ProtoMessage ¶
func (*Untyped) ProtoMessage()
func (*Untyped) Reset ¶
func (m *Untyped) Reset()
func (*Untyped) String ¶
Source Files ¶
metrics.pb.go
- Version
- v0.11.0
- Published
- Feb 18, 2015
- Platform
- windows/amd64
- Imports
- 3 packages
- Last checked
- 44 minutes ago –
Tools for package owners.