stats

package
v0.0.0-...-678c32f Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatsDConfig

type StatsDConfig struct {
	Host              string        `config:"host"`
	Port              int           `config:"port"`
	Namespace         string        `config:"namespace"`
	IntervalInSeconds time.Duration `config:"interval_in_seconds"`
}

type StatsDModule

type StatsDModule struct {
}

func (StatsDModule) Decrement

func (module StatsDModule) Decrement(category, key string)

func (StatsDModule) DecrementBy

func (module StatsDModule) DecrementBy(category, key string, value int64)

func (StatsDModule) Gauge

func (module StatsDModule) Gauge(category, key string, v int64)

func (StatsDModule) Increment

func (module StatsDModule) Increment(category, key string)

func (StatsDModule) IncrementBy

func (module StatsDModule) IncrementBy(category, key string, value int64)

func (StatsDModule) Name

func (module StatsDModule) Name() string

func (StatsDModule) Start

func (module StatsDModule) Start(cfg *Config)

func (StatsDModule) Stat

func (module StatsDModule) Stat(category, key string) int64

func (StatsDModule) StatsAll

func (module StatsDModule) StatsAll() *[]byte

func (StatsDModule) Stop

func (module StatsDModule) Stop() error

func (StatsDModule) Timing

func (module StatsDModule) Timing(category, key string, v int64)

Jump to

Keyboard shortcuts

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