Documentation ¶
Overview ¶
Package textparse contains an efficient parser for the Prometheus text format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser parses samples from a byte slice of samples in the official Prometheus text exposition format.
func (*Parser) At ¶
At returns the bytes of the metric, the timestamp if set, and the value of the current sample.
Click to show internal directories.
Click to hide internal directories.