type github.com/prometheus/client_model/go.Counter
17 uses
github.com/prometheus/client_model/go (current package)
metrics.pb.go#L150: type Counter struct {
metrics.pb.go#L157: func (m *Counter) Reset() { *m = Counter{} }
metrics.pb.go#L158: func (m *Counter) String() string { return proto.CompactTextString(m) }
metrics.pb.go#L159: func (*Counter) ProtoMessage() {}
metrics.pb.go#L160: func (*Counter) Descriptor() ([]byte, []int) {
metrics.pb.go#L163: func (m *Counter) XXX_Unmarshal(b []byte) error {
metrics.pb.go#L166: func (m *Counter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
metrics.pb.go#L169: func (dst *Counter) XXX_Merge(src proto.Message) {
metrics.pb.go#L172: func (m *Counter) XXX_Size() int {
metrics.pb.go#L175: func (m *Counter) XXX_DiscardUnknown() {
metrics.pb.go#L181: func (m *Counter) GetValue() float64 {
metrics.pb.go#L429: Counter *Counter `protobuf:"bytes,3,opt,name=counter" json:"counter,omitempty"`
metrics.pb.go#L477: func (m *Metric) GetCounter() *Counter {
metrics.pb.go#L577: proto.RegisterType((*Counter)(nil), "io.prometheus.client.Counter")
github.com/prometheus/client_golang/prometheus
value.go#L131: m.Counter = &dto.Counter{Value: proto.Float64(v)}
github.com/prometheus/common/expfmt
text_parse.go#L403: p.currentMetric.Counter = &dto.Counter{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. |