Documentation ¶
Overview ¶
Package Client
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client config
func ConfigureWithInsecureTLS ¶
func ConfigureWithInsecureTLS(url string, enableHTTP2, debug bool, timeout int, headers []string) *Client
Configure client with insecure SSL
func ConfigureWithTLS ¶
func ConfigureWithTLS(url string, caFile string, keyFile, certFile string, enableHTTP2, insecure bool, debug bool, timeout int, headers []string) *Client
Configure client with SSL
func (Client) Push ¶
func (client Client) Push(wr *prompb.WriteRequest) error
Push timeseries to a remote write url
func (Client) PushWithRetries ¶
func (client Client) PushWithRetries(wr *prompb.WriteRequest) error
Push with retries timeseries to a remote write url
Click to show internal directories.
Click to hide internal directories.