nop

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter struct{}

func (Counter) Add

func (Counter) Add(_ int64)

func (Counter) Inc

func (Counter) Inc()

type CounterVec

type CounterVec struct{}

func (CounterVec) Reset

func (t CounterVec) Reset()

func (CounterVec) With

func (t CounterVec) With(_ map[string]string) metrics.Counter

type DurationHistogramVec

type DurationHistogramVec struct{}

func (DurationHistogramVec) Reset

func (t DurationHistogramVec) Reset()

func (DurationHistogramVec) With

type FuncCounter

type FuncCounter struct {
	// contains filtered or unexported fields
}

func (FuncCounter) Function

func (c FuncCounter) Function() func() int64

type FuncGauge

type FuncGauge struct {
	// contains filtered or unexported fields
}

func (FuncGauge) Function

func (g FuncGauge) Function() func() float64

type FuncIntGauge

type FuncIntGauge struct {
	// contains filtered or unexported fields
}

func (FuncIntGauge) Function

func (g FuncIntGauge) Function() func() int64

type Gauge

type Gauge struct{}

func (Gauge) Add

func (Gauge) Add(_ float64)

func (Gauge) Set

func (Gauge) Set(_ float64)

type GaugeVec

type GaugeVec struct{}

func (GaugeVec) Reset

func (t GaugeVec) Reset()

func (GaugeVec) With

func (t GaugeVec) With(_ map[string]string) metrics.Gauge

type Histogram

type Histogram struct{}

func (Histogram) RecordDuration

func (Histogram) RecordDuration(_ time.Duration)

func (Histogram) RecordValue

func (Histogram) RecordValue(_ float64)

type HistogramVec

type HistogramVec struct{}

func (HistogramVec) Reset

func (t HistogramVec) Reset()

func (HistogramVec) With

func (t HistogramVec) With(_ map[string]string) metrics.Histogram

type IntGauge

type IntGauge struct{}

func (IntGauge) Add

func (IntGauge) Add(_ int64)

func (IntGauge) Set

func (IntGauge) Set(_ int64)

type IntGaugeVec

type IntGaugeVec struct{}

func (IntGaugeVec) Reset

func (t IntGaugeVec) Reset()

func (IntGaugeVec) With

func (t IntGaugeVec) With(_ map[string]string) metrics.IntGauge

type Registry

type Registry struct{}

func (Registry) ComposeName

func (r Registry) ComposeName(parts ...string) string

func (Registry) Counter

func (r Registry) Counter(_ string) metrics.Counter

func (Registry) CounterVec

func (r Registry) CounterVec(_ string, _ []string) metrics.CounterVec

func (Registry) DurationHistogram

func (r Registry) DurationHistogram(_ string, _ metrics.DurationBuckets) metrics.Timer

func (Registry) DurationHistogramVec

func (r Registry) DurationHistogramVec(_ string, _ metrics.DurationBuckets, _ []string) metrics.TimerVec

func (Registry) FuncCounter

func (r Registry) FuncCounter(_ string, function func() int64) metrics.FuncCounter

func (Registry) FuncGauge

func (r Registry) FuncGauge(_ string, function func() float64) metrics.FuncGauge

func (Registry) FuncIntGauge

func (r Registry) FuncIntGauge(_ string, function func() int64) metrics.FuncIntGauge

func (Registry) Gauge

func (r Registry) Gauge(_ string) metrics.Gauge

func (Registry) GaugeVec

func (r Registry) GaugeVec(_ string, _ []string) metrics.GaugeVec

func (Registry) Histogram

func (r Registry) Histogram(_ string, _ metrics.Buckets) metrics.Histogram

func (Registry) HistogramVec

func (r Registry) HistogramVec(_ string, _ metrics.Buckets, _ []string) metrics.HistogramVec

func (Registry) IntGauge

func (r Registry) IntGauge(_ string) metrics.IntGauge

func (Registry) IntGaugeVec

func (r Registry) IntGaugeVec(_ string, _ []string) metrics.IntGaugeVec

func (Registry) Stream

func (r Registry) Stream(_ context.Context, _ io.Writer) (int, error)

func (Registry) Timer

func (r Registry) Timer(_ string) metrics.Timer

func (Registry) TimerVec

func (r Registry) TimerVec(_ string, _ []string) metrics.TimerVec

func (Registry) WithPrefix

func (r Registry) WithPrefix(_ string) metrics.Registry

func (Registry) WithTags

func (r Registry) WithTags(_ map[string]string) metrics.Registry

type Timer

type Timer struct{}

func (Timer) RecordDuration

func (Timer) RecordDuration(_ time.Duration)

type TimerVec

type TimerVec struct{}

func (TimerVec) Reset

func (t TimerVec) Reset()

func (TimerVec) With

func (t TimerVec) With(_ map[string]string) metrics.Timer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL