# Functions
DecodeReadRequest reads a remote.Request from a http.Request.
EncodeReadResponse writes a remote.Response to a http.ResponseWriter.
ExternablLabelsHandler returns a storage.Queryable which creates a externalLabelsQuerier.
FromQuery unpacks a Query proto.
FromQueryResult unpacks a QueryResult proto.
LabelProtosToMetric unpack a []*prompb.Label to a model.Metric.
MetricToLabelProtos builds a []*prompb.Label from a model.Metric.
NewClient creates a new Client.
NewQueueManager builds a new QueueManager.
NewStorage returns a remote.Storage.
PreferLocalStorageFilter returns a QueryableFunc which creates a NoopQuerier if requested timeframe can be answered completely by the local TSDB, and reduces maxt if the timeframe can be partially answered by TSDB.
QueryableClient returns a storage.Queryable which queries the given Client to select series sets.
RequiredMatchersFilter returns a storage.Queryable which creates a requiredMatchersQuerier.
ToQuery builds a Query proto.
ToQueryResult builds a QueryResult proto.
ToWriteRequest converts an array of samples into a WriteRequest proto.
# Structs
Client allows reading and writing from/to a remote HTTP endpoint.
ClientConfig configures a Client.
QueueManager manages a queue of samples to be sent to the Storage indicated by the provided StorageClient.
Storage represents all the remote read and write endpoints.
# Interfaces
StorageClient defines an interface for sending a batch of samples to an external timeseries database.