- [Feature] Added
-TrustServerCertificate
toWrite-Influx
to ignore SSL certificate validation errors. Thanks @Max-Lyulchenko! - [Feature] Added
-SingleLineMetrics
toWrite-Influx
to combine metrics into a single call of the Influx Line Protocol. Thanks @Max-Lyulchenko!
- [Bug] Merged fix for #38 where using
Write-Influx
orWrite-InfluxUDP
without tags resulted in an error due to an empty hashtable being treated as true. Thanks @DerT94 - [Feature] Added a -BulkSize parameter to
Write-Influx
with a default of 5000 (the recommended bulk size). When using-Bulk
writes 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-Influx
cmdlet.Write-Influx
still supports Influx v1, which is assumed if the-Database
parameter is used. If the new-Organisation
-Bucket
and-Token
parameters are used then Influx v2 is assumed. Thanks @Robin Hermann for contributing most of this change.
- [Bug] Merged fix #31 from @Trovalo where
Out-InfluxEscapeString
was 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
-Credential
parameter toWrite-Influx
as requested in #9. This allowsWrite-Influx
to be used with instances of Influx where authentication has been enabled (disabled by default).