Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateMeasurementsWhitelist ¶
func UpdateMeasurementsWhitelist(whitelist []string)
func UpdateTagsWhitelist ¶
func UpdateTagsWhitelist(tagsList []string)
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client allows sending batches of Prometheus samples to InfluxDB.
func NewClient ¶
func NewClient(logger log.Logger, conf influx.HTTPConfig, db string, rp string, adapterConf *config.Config) *Client
NewClient creates a new Client.
func (*Client) Collect ¶
func (c *Client) Collect(ch chan<- prometheus.Metric)
Collect implements prometheus.Collector.
func (*Client) Describe ¶
func (c *Client) Describe(ch chan<- *prometheus.Desc)
Describe implements prometheus.Collector.
func (*Client) Read ¶
func (c *Client) Read(req *prompb.ReadRequest) (*prompb.ReadResponse, error)
Click to show internal directories.
Click to hide internal directories.