type github.com/prometheus/client_model/go.Gauge
17 uses
github.com/prometheus/client_model/go (current package)
metrics.pb.go#L112: type Gauge struct {
metrics.pb.go#L119: func (m *Gauge) Reset() { *m = Gauge{} }
metrics.pb.go#L120: func (m *Gauge) String() string { return proto.CompactTextString(m) }
metrics.pb.go#L121: func (*Gauge) ProtoMessage() {}
metrics.pb.go#L122: func (*Gauge) Descriptor() ([]byte, []int) {
metrics.pb.go#L125: func (m *Gauge) XXX_Unmarshal(b []byte) error {
metrics.pb.go#L128: func (m *Gauge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
metrics.pb.go#L131: func (dst *Gauge) XXX_Merge(src proto.Message) {
metrics.pb.go#L134: func (m *Gauge) XXX_Size() int {
metrics.pb.go#L137: func (m *Gauge) XXX_DiscardUnknown() {
metrics.pb.go#L143: func (m *Gauge) GetValue() float64 {
metrics.pb.go#L428: Gauge *Gauge `protobuf:"bytes,2,opt,name=gauge" json:"gauge,omitempty"`
metrics.pb.go#L470: func (m *Metric) GetGauge() *Gauge {
metrics.pb.go#L576: proto.RegisterType((*Gauge)(nil), "io.prometheus.client.Gauge")
github.com/prometheus/client_golang/prometheus
value.go#L133: m.Gauge = &dto.Gauge{Value: proto.Float64(v)}
github.com/prometheus/common/expfmt
text_parse.go#L405: p.currentMetric.Gauge = &dto.Gauge{Value: proto.Float64(value)}
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |