rollup

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GorouterHttpMetricName = "http"
	GorouterSourceId       = "gorouter"
)

Variables

This section is empty.

Functions

func NewCounterRollup

func NewCounterRollup(log *logger.Logger, nodeIndex string, rollupTags []string) *counterRollup

func NewHistogramRollup

func NewHistogramRollup(log *logger.Logger, nodeIndex string, rollupTags []string) *histogramRollup

func NewNullRollup

func NewNullRollup() *nullRollup

Types

type PointsBatch

type PointsBatch struct {
	Points []*rpc.Point
	Size   int
}

type Rollup

type Rollup interface {
	Record(sourceId string, tags map[string]string, value int64)
	Rollup(timestamp int64) []*PointsBatch
}

Jump to

Keyboard shortcuts

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