sink

package
v0.0.0-...-cb9a697 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 2 more Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sink

type Sink interface {

	// Report the snapshot of metrics to the monitoring system. The report can possibly fail.
	Report(stats []aggregate.TableStats, allStats aggregate.ClusterStats)
}

Sink is the destination where the metrics are reported to.

func NewSink

func NewSink() Sink

NewSink creates a Sink which reports metrics to the configured monitoring system.

Jump to

Keyboard shortcuts

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