github.com/prometheus/client_model/go.Metric.Gauge (field)
11 uses
github.com/prometheus/client_model/go (current package)
metrics.pb.go#L428: Gauge *Gauge `protobuf:"bytes,2,opt,name=gauge" json:"gauge,omitempty"`
metrics.pb.go#L472: return m.Gauge
github.com/prometheus/client_golang/prometheus
registry.go#L616: if dtoMetric.Gauge == nil {
registry.go#L652: case dtoMetric.Gauge != nil:
registry.go#L838: if metricFamily.GetType() == dto.MetricType_GAUGE && dtoMetric.Gauge == nil ||
value.go#L133: m.Gauge = &dto.Gauge{Value: proto.Float64(v)}
github.com/prometheus/common/expfmt
decode.go#L237: if m.Gauge == nil {
decode.go#L249: Value: model.SampleValue(m.Gauge.GetValue()),
text_create.go#L167: if metric.Gauge == nil {
text_create.go#L174: metric.Gauge.GetValue(),
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. |