- [Feature] Added
-TrustServerCertificatetoWrite-Influxto ignore SSL certificate validation errors. Thanks @Max-Lyulchenko! - [Feature] Added
-SingleLineMetricstoWrite-Influxto combine metrics into a single call of the Influx Line Protocol. Thanks @Max-Lyulchenko!
- [Bug] Merged fix for #38 where using
Write-InfluxorWrite-InfluxUDPwithout tags resulted in an error due to an empty hashtable being treated as true. Thanks @DerT94 - [Feature] Added a -BulkSize parameter to
Write-Influxwith a default of 5000 (the recommended bulk size). When using-Bulkwrites will occur when the number of metrics in the bulk reach this size. Thanks @DerT94
- [Feature] Added support for Influx v2.x to the
Write-Influxcmdlet.Write-Influxstill supports Influx v1, which is assumed if the-Databaseparameter is used. If the new-Organisation-Bucketand-Tokenparameters are used then Influx v2 is assumed. Thanks @Robin Hermann for contributing most of this change.
- [Bug] Merged fix #31 from @Trovalo where
Out-InfluxEscapeStringwas escaping more characters than were necessary.
- [Feature] Multiple fields for a single metric are written via a single Influx line protocol entry.
- [Feature] Tags are now sorted alphabetically to improve performance.
- [Bug] The full set of special characters are now escaped when writing to Influx.
Thanks @Trovalo for these enhancements!
- [Feature] Added a
-Credentialparameter toWrite-Influxas requested in #9. This allowsWrite-Influxto be used with instances of Influx where authentication has been enabled (disabled by default).