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 ¶
NewWriteRequest is used in testing Remote Write 2.0 to generate a new write request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.