Documentation ¶
Index ¶
- func BucketScale(factor float64, values ...float64) []float64
- func Counter(ctx context.Context, name string) (prometheus.Counter, bool)
- func CounterVec(ctx context.Context, name string) (*prometheus.CounterVec, bool)
- func Gauge(ctx context.Context, name string) (prometheus.Gauge, bool)
- func GaugeVec(ctx context.Context, name string) (*prometheus.GaugeVec, bool)
- func Histogram(ctx context.Context, name string) (prometheus.Histogram, bool)
- func NewCounter(ctx context.Context, name string) context.Context
- func NewCounterVec(ctx context.Context, name string, labels ...string) context.Context
- func NewGauge(ctx context.Context, name string) context.Context
- func NewGaugeVec(ctx context.Context, name string, labels ...string) context.Context
- func NewHistogram(ctx context.Context, name string, buckets ...float64) context.Context
- func NewTransitionCollector(ctx context.Context, name string) context.Context
- type Transition
- type TransitionCollector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BucketScale ¶
func CounterVec ¶
func CounterVec(ctx context.Context, name string) (*prometheus.CounterVec, bool)
func NewCounterVec ¶
func NewGaugeVec ¶
func NewHistogram ¶
Types ¶
type TransitionCollector ¶
type TransitionCollector struct {
// contains filtered or unexported fields
}
func GetTransitionCollector ¶
func GetTransitionCollector(ctx context.Context, name string) *TransitionCollector
func (*TransitionCollector) Finish ¶
func (c *TransitionCollector) Finish() []Transition
Click to show internal directories.
Click to hide internal directories.