diff --git a/CHANGELOG.md b/CHANGELOG.md index 38d4c80..1c03e64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# PR [#27](https://github.com/theplant/appkit/pull/27) + +* Change influxdb client import path. Detail in [issue](https://github.com/influxdata/influxdb/issues/11035) + # PR [#17](https://github.com/theplant/appkit/pull/17) * Don't log SQL query *values* in Gorm log adapter diff --git a/monitoring/influxdb.go b/monitoring/influxdb.go index 8dc39a4..2f2c62e 100644 --- a/monitoring/influxdb.go +++ b/monitoring/influxdb.go @@ -6,10 +6,9 @@ import ( "strings" "time" + influxdb "github.com/influxdata/influxdb1-client/v2" "github.com/pkg/errors" "github.com/theplant/appkit/log" - - influxdb "github.com/influxdata/influxdb/client/v2" ) // InfluxMonitorConfig type for configuration of Monitor that sinks to