- [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).