influxdb-client-go
influxdb-client-go copied to clipboard
InfluxDB 2 Go Client
# Specifications Client Version: v2.9.2 InfluxDB Version:v2.3.0 Platform:Ubuntu 20.04 # [internal/write/service.go](https://github.com/influxdata/influxdb-client-go/blob/v2.9.2/internal/write/service.go) I see Write.go have [Flush() ](https://github.com/influxdata/influxdb-client-go/blob/v2.9.2/api/write.go#L114) and [writeProc()](https://github.com/influxdata/influxdb-client-go/blob/v2.9.2/api/write.go#L185), them maybe called at the same time, and [HandleWrite()](https://github.com/influxdata/influxdb-client-go/blob/v2.9.2/internal/write/service.go#L113) and [Flush()](https://github.com/influxdata/influxdb-client-go/blob/v2.9.2/internal/write/service.go#L265)...
__Steps to reproduce:__ 1. Start a loop writing data once per second, with a WriteFailedCallback that detects loss of connection, prevents new data from being added, and tells the infrastructure...
Swagger generated code refactor according to the https://gist.github.com/rogpeppe/359e7465956e98bed4c5b9692b910a05: - Single method for each operation - Filtering operations only for those with JSON request body (POST and PATCH) and for those...
__Proposal:__ Automatically set the time to the current time in `write.Point` if the time hasn't already been set when a call to `writeAPI.WritePoint` is made __Current behavior:__ The time is...
__Proposal:__ It would be really nice to have a Flux DSL librairy for the go client; similarly to what exist for the [Java client](https://github.com/influxdata/influxdb-client-java/tree/master/flux-dsl) __Current behavior:__ With the current librairy...
__Proposal:__ synchronous API with batching support __Current behavior:__ async API is wrong-headed for Go __Desired behavior:__ `WriteAPIBlocking.WriteRecord` could add stuff to a batch, and when the batch needs sending, it...
__Steps to reproduce:__ List the minimal actions needed to reproduce the behavior. ``` curl http://127.0.0.1:8000/debug/pprof/goroutine?debug=1 goroutine profile: total 52019 21104 @ 0x43ab85 0x4059fa 0x405755 0x8061b8 0x80a5a4 0x80ad36 0x470c61 # 0x8061b7...
I want to look up a bucket by name and create it if it doesn't exist. Something like the following pseudocode: ```go bucket, err := client.BucketsAPI().FindBucketByName(ctx, "mybucket") if err !=...
`WriteAPIImpl.Flush()` appears to have an irrelevant bug, and to be overly complex for what it actually does, which does not include flushing as implied by the documentation. [waitForFlushing()](https://github.com/influxdata/influxdb-client-go/blob/4218b5069e003d9575d6d8221a43f7eed6e5f6ec/api/write.go#L114-L133) has two...
# Proposal: new major version of InfluxDB Go client ## Introduction For a Go developer, the [Go API client](https://pkg.go.dev/github.com/influxdata/influxdb-client-go/[email protected]?tab=doc) is likely to be the first concrete interaction they'll have with...