graphite

package module
v0.0.0-...-3ad44e1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const ErrAlreadyClosed ers.Error = ers.Error("connection already closed")

Variables

This section is empty.

Functions

func CollectorConfOutputBSON

func CollectorConfOutputBSON() series.CollectorOptionProvider

func RenderHistogramBSON

func RenderHistogramBSON(
	wr *bytes.Buffer,
	key string,
	labels fun.Future[[]byte],
	sample *dt.Pairs[float64, int64],
	ts time.Time,
)

func RenderLabelsBSON

func RenderLabelsBSON(output *bytes.Buffer, labels []dt.Pair[string, string], extra ...dt.Pair[string, string])

func RenderMetricBSON

func RenderMetricBSON(buf *bytes.Buffer, key string, labels fun.Future[[]byte], value int64, ts time.Time)

Types

type Pool

type Pool struct {
	// contains filtered or unexported fields
}

func (*Pool) GetConnection

func (p *Pool) GetConnection() io.WriteCloser

Jump to

Keyboard shortcuts

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