type github.com/prometheus/client_golang/prometheus.CounterVec
17 uses
github.com/prometheus/client_golang/prometheus (current package)
counter.go#L123: type CounterVec struct {
counter.go#L129: func NewCounterVec(opts CounterOpts, labelNames []string) *CounterVec {
counter.go#L136: return &CounterVec{
counter.go#L171: func (v *CounterVec) GetMetricWithLabelValues(lvs ...string) (Counter, error) {
counter.go#L191: func (v *CounterVec) GetMetricWith(labels Labels) (Counter, error) {
counter.go#L203: func (v *CounterVec) WithLabelValues(lvs ...string) Counter {
counter.go#L214: func (v *CounterVec) With(labels Labels) Counter {
counter.go#L235: func (v *CounterVec) CurryWith(labels Labels) (*CounterVec, error) {
counter.go#L238: return &CounterVec{vec}, err
counter.go#L245: func (v *CounterVec) MustCurryWith(labels Labels) *CounterVec {
github.com/prometheus/client_golang/prometheus/promhttp
http.go#L107: errCnt = are.ExistingCollector.(*prometheus.CounterVec)
http.go#L229: cnt = are.ExistingCollector.(*prometheus.CounterVec)
instrument_client.go#L60: func InstrumentRoundTripperCounter(counter *prometheus.CounterVec, next http.RoundTripper) RoundTripperFunc {
instrument_server.go#L94: func InstrumentHandlerCounter(counter *prometheus.CounterVec, next http.Handler) http.HandlerFunc {
instrument_server.go#L264: case *prometheus.CounterVec:
![]() |
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. |