tsstats

package
v2.6.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatsTS

type StatsTS struct {
	StatsKeySet string
	StatsTTL    string
	// contains filtered or unexported fields
}

func New

func New(gbl *zap.Logger, gbs *snitch.Stats, intvl, statsKeySet, statsTTL string) (*StatsTS, error)

func (*StatsTS) Increment

func (sts *StatsTS) Increment(callerID string, metric string, tags map[string]string)

func (*StatsTS) ValueAdd

func (sts *StatsTS) ValueAdd(callerID string, metric string, tags map[string]string, v float64)

Jump to

Keyboard shortcuts

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