Versions in this module Expand all Collapse all v0 v0.0.1 Jan 1, 2026 Changes in this version + type ConvertStruct struct + Bool string + ConversionStyle string + Defaultvalue string + Integer string + Real string + Text string + Timestamp string + Unsigned string + type SQL struct + BatchTx bool + ConnectionMaxIdle int + ConnectionMaxIdleTime config.Duration + ConnectionMaxLifetime config.Duration + ConnectionMaxOpen int + Convert ConvertStruct + DataSourceName config.Secret + Driver string + InitSQL string + Log telegraf.Logger + TableExistsTemplate string + TableTemplate string + TableUpdateTemplate string + TimestampColumn string + func (*SQL) SampleConfig() string + func (p *SQL) Close() error + func (p *SQL) Connect() error + func (p *SQL) Init() error + func (p *SQL) Write(metrics []telegraf.Metric) error