type github.com/prometheus/client_golang/prometheus.counter
7 uses
github.com/prometheus/client_golang/prometheus (current package)
counter.go#L64: result := &counter{desc: desc, labelPairs: desc.constLabelPairs}
counter.go#L69: type counter struct {
counter.go#L83: func (c *counter) Desc() *Desc {
counter.go#L87: func (c *counter) Add(v float64) {
counter.go#L106: func (c *counter) Inc() {
counter.go#L110: func (c *counter) Write(out *dto.Metric) error {
counter.go#L141: result := &counter{desc: desc, labelPairs: makeLabelPairs(desc, lvs)}
![]() |
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. |