tsstats

package
v2.27.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: GPL-3.0 Imports: 5 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(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