Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Labels ¶ added in v1.10.10
type Labels interface { // Labels returns the complete set of labels. For series it means all labels identifying the series. Labels() labels.Labels }
Labels represents an item that has labels e.g. time series.
type SampleIteratable ¶ added in v1.10.10
type Series ¶ added in v1.10.10
type Series interface { Labels SampleIteratable }
Series exposes a single time series and allows iterating over samples.
type SeriesSet ¶ added in v1.10.10
type SeriesSet interface { Next() bool // At returns full series. Returned series should be iteratable even after Next is called. At() Series // The error that iteration as failed with. // When an error occurs, set cannot continue to iterate. Err() error // A collection of warnings for the whole set. // Warnings could be return even iteration has not failed with error. Warnings() Warnings }
SeriesSet contains a set of series.
Click to show internal directories.
Click to hide internal directories.