Versions in this module Expand all Collapse all v2 v2.0.0 Jun 18, 2023 Changes in this version + const DefaultMeasurementPrefix + const MeasurementBinary + const MeasurementCounter + const MeasurementGaugeFloat + const MeasurementGaugeInteger + const MeasurementGeo + const MeasurementString + const PluginInfluxdbV2 + const QueryClientV1 + const QueryClientV2 + func NewClient(ctx context.Context, config cmap.CustomMap) (metricTY.Plugin, error) + type Client struct + Client influxdb2.Client + Config Config + func (c *Client) Close() error + func (c *Client) Name() string + func (c *Client) Ping() error + func (c *Client) Query(queryConfig *metricTY.QueryConfig) (map[string][]metricTY.ResponseData, error) + func (c *Client) Write(data *metricTY.InputData) error + func (c *Client) WriteBlocking(data *metricTY.InputData) error + type Config struct + BucketName string + FlushInterval string + Insecure bool + IsCloudInstance bool + MeasurementPrefix string + OrganizationName string + Password string + QueryClientVersion string + Token string + URI string + Username string + type LoggerConfig struct + EnableStacktrace bool + Encoding string + Level string + Mode string