stats

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2017 License: Apache-2.0 Imports: 11 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 (this StatsDModule) Decrement(category, key string)

func (StatsDModule) DecrementBy

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

func (StatsDModule) Gauge

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

func (StatsDModule) Increment

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

func (StatsDModule) IncrementBy

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

func (StatsDModule) Name

func (this StatsDModule) Name() string

func (StatsDModule) Start

func (this StatsDModule) Start(cfg *Config)

func (StatsDModule) Stat

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

func (StatsDModule) StatsAll

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

func (StatsDModule) Stop

func (this StatsDModule) Stop() error

func (StatsDModule) Timing

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

type StatsStoreModule

type StatsStoreModule struct {
}

func (StatsStoreModule) Decrement

func (this StatsStoreModule) Decrement(category, key string)

func (StatsStoreModule) DecrementBy

func (this StatsStoreModule) DecrementBy(category, key string, value int64)

func (StatsStoreModule) Gauge

func (this StatsStoreModule) Gauge(category, key string, v int64)

func (StatsStoreModule) Increment

func (this StatsStoreModule) Increment(category, key string)

func (StatsStoreModule) IncrementBy

func (this StatsStoreModule) IncrementBy(category, key string, value int64)

func (StatsStoreModule) Name

func (this StatsStoreModule) Name() string

func (StatsStoreModule) Start

func (this StatsStoreModule) Start(cfg *Config)

func (StatsStoreModule) Stat

func (this StatsStoreModule) Stat(category, key string) int64

func (StatsStoreModule) StatsAll

func (this StatsStoreModule) StatsAll() *[]byte

func (StatsStoreModule) Stop

func (this StatsStoreModule) Stop() error

func (StatsStoreModule) Timing

func (this StatsStoreModule) Timing(category, key string, v int64)

Jump to

Keyboard shortcuts

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