# Functions
HTTPClientOption sets the HTTP client that is set for the client.
HTTPClientTimeoutOption sets the timeout that is set for the client.
LoopTSOption sets the mode of the loop from flag -l when it is enabled.
NewClient creates a new remote write coordinator client.
NewConfig creates a new Config struct based on options passed to the function.
UserAgent sets the `User-Agent` header in the request.
WriteURLOption sets the URL which the client uses to write to m3coordinator.
# Constants
DefaultRemoteWrite is the default Prom remote write endpoint in m3coordinator.
# Variables
DefaultConfig represents the default configuration used to construct a client.
# Structs
Config defines the configuration used to construct a client.
A Datapoint is a single data value reported at a given time.
Label is a metric label.
TimeSeries are made of labels and a datapoint.
WriteOptions specifies additional write options.
WriteResult returns the successful HTTP status code.
# Interfaces
Client is used to write timeseries data to a Prom remote write endpoint such as the one in m3coordinator.
WriteError is an error that can also return the HTTP status code if the response is what caused an error.
# Type aliases
ConfigOption defines a config option that can be used when constructing a client.
TSList is a slice of TimeSeries.