You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
influxClient := influxdb2.NewClient(w.url, w.authString)
writeAPI := influxClient.WriteAPI("", "")
for {
select {
case e := <-w.influxCh:
writeAPI.WritePoint(influxdb2.NewPoint(e.measurement, e.tags, e.fields, e.time))
case <-w.quit:
writeAPI.Flush()
return
}
}
Appears in our logs occasionally. Seems like an error is being returned to the write method, but the structure is incorrect for unmarshalling. Don't know exactly how to grab more data without forking the package and adding some prints.
Expected behavior
No errors are displayed
Actual behavior
Additional info
No response
The text was updated successfully, but these errors were encountered:
Error parsing the request body: metric parse error: expected field at 1:214: "name_of_metric,foo=bar,main=true count=1i,reason="503 Service Unavailable: {\"jsonrpc\":\"2.0\",\"error\":{\"code\":-32011,\"message\":\"no backends available for method\"},\"id\":4465}\n"
Specifications
Steps to reproduce
We are writing like this:
Appears in our logs occasionally. Seems like an error is being returned to the write method, but the structure is incorrect for unmarshalling. Don't know exactly how to grab more data without forking the package and adding some prints.
Expected behavior
No errors are displayed
Actual behavior
Additional info
No response
The text was updated successfully, but these errors were encountered: