Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreIdenticalSeriesFast ¶ added in v1.66.0
AreIdenticalSeriesFast returns true if s1 and s2 contains identical Prometheus series with possible different values.
This function is optimized for speed.
func GetRowsDiff ¶ added in v1.66.0
GetRowsDiff returns rows from s1, which are missing in s2.
The returned rows have default value 0 and have no timestamps.
Types ¶
type Rows ¶
type Rows struct { Rows []Row // contains filtered or unexported fields }
Rows contains parsed Prometheus rows.
func (*Rows) Unmarshal ¶
Unmarshal unmarshals Prometheus exposition text rows from s.
s shouldn't be modified while rs is in use.
func (*Rows) UnmarshalWithErrLogger ¶ added in v1.34.0
UnmarshalWithErrLogger unmarshal Prometheus exposition text rows from s.
It calls errLogger for logging parsing errors.
s shouldn't be modified while rs is in use.
Click to show internal directories.
Click to hide internal directories.