metrics

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package metrics //

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

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

Registry initializes expvar metrics registry

func NewRegistry

func NewRegistry() *Registry

NewRegistry initializes metrics registry

func (*Registry) GetCounter

func (m *Registry) GetCounter(key string) metrics.Counter

GetCounter gets go-kit expvar Counter

func (*Registry) GetGauge

func (m *Registry) GetGauge(key string) metrics.Gauge

GetGauge gets go-kit expvar Gauge

Jump to

Keyboard shortcuts

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