package
1.8.2
Repository: https://github.com/gitlawr/prometheus.git
Documentation: pkg.go.dev

# Functions

DecodeReadRequest reads a remote.Request from a http.Request.
EncodeReadResponse writes a remote.Response to a http.ResponseWriter.
FromLabelPairs unpack a []LabelPair to a model.Metric.
FromQuery unpacks a Query proto.
FromQueryResult unpacks a QueryResult proto.
IteratorsToMatrix converts a list of iterators into a model.Matrix.
MatrixToIterators returns series iterators for a given matrix.
NewClient creates a new Client.
NewQueueManager builds a new QueueManager.
ToLabelPairs builds a []LabelPair from a model.Metric.
ToQuery builds a Query proto.
ToQueryResult builds a QueryResult proto.
ToWriteRequest converts an array of samples into a WriteRequest proto.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

Client allows reading and writing from/to a remote HTTP endpoint.
ClientConfig configures a Client.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QueueManager manages a queue of samples to be sent to the Storage indicated by the provided StorageClient.
Reader allows reading from multiple remote sources.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Writer allows queueing samples for remote writes.
No description provided by the author

# Interfaces

StorageClient defines an interface for sending a batch of samples to an external timeseries database.

# Type aliases

No description provided by the author