metrics

package
v0.0.0-...-b61aaf9 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2016 License: Apache-2.0, Apache-2.0, BSD-2-Clause-Views, + 2 more Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKeyVerificationRefreshCount

func GetKeyVerificationRefreshCount() int64

func GetTokenErrors

func GetTokenErrors() int64

func IncrementKeyVerificationRefreshCount

func IncrementKeyVerificationRefreshCount()

func IncrementTokenError

func IncrementTokenError()

Types

type MetricsReporter

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

func NewMetricsReporter

func NewMetricsReporter(database db.DB, stats PartialStatsdClient, ticker *time.Ticker) *MetricsReporter

func (*MetricsReporter) Run

func (r *MetricsReporter) Run(signals <-chan os.Signal, ready chan<- struct{}) error

type PartialStatsdClient

type PartialStatsdClient interface {
	GaugeDelta(stat string, value int64, rate float32) error
	Gauge(stat string, value int64, rate float32) error
}

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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