tsstats

package
v2.14.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2019 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 {
	// contains filtered or unexported fields
}

func New

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

func (*StatsTS) AnalyticIncrement

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

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)

func (*StatsTS) ValueMax

func (sts *StatsTS) ValueMax(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