tss

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RequestQueue = make(chan *tss.MetricsRequest, 128)

Functions

This section is empty.

Types

type DB

type DB interface {
	Query(req *tss.MetricsRequest) (*tss.NodeMetrics, error)
	// Set(mp *tss.DataPoint) error
	WriteBatch(dps []*tss.DataPoint) error
	Scan(keyPrefix []byte) ([]*tss.DataPoint, error)
	Last(keyPrefix []byte) (*tss.DataPoint, error)
	Close() error
}

func Open

func Open() (DB, error)

Jump to

Keyboard shortcuts

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