rw2

package
v0.0.0-...-0c923bb Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFloatSeries

func AddFloatSeries(
	req *promRW2.Request,
	lbls labels.Labels,
	floats []promRW2.Sample,
	metricType promRW2.Metadata_MetricType,
	help string,
	unit string,
	createdTimestamp int64,
	exemplars []promRW2.Exemplar) *promRW2.Request

AddFloatSeries is used in testing Remote Write 2.0 to add a float series to a write request. Write 0 into createdTimestamp to not use it.

func AddHistogramSeries

func AddHistogramSeries(
	req *promRW2.Request,
	lbls labels.Labels,
	histograms []promRW2.Histogram,
	help string,
	unit string,
	createdTimestamp int64,
	exemplars []promRW2.Exemplar) *promRW2.Request

AddHistogramSeries is used in testing Remote Write 2.0 to add a histogram series to a write request. Write 0 into createdTimestamp to not use it.

func NewWriteRequest

func NewWriteRequest() *promRW2.Request

NewWriteRequest is used in testing Remote Write 2.0 to generate a new write request.

Types

This section is empty.

Jump to

Keyboard shortcuts

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