-
Notifications
You must be signed in to change notification settings - Fork 20.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
metrics/influxdb: update dependency #26937
Conversation
I used this PR to run geth No obvious errors |
Swapping this in on |
Everything LGTM (15 minutes with a different PR, and 15 minutes with this PR: https://geth-bench.ethdevops.io/d/Jpk-Be5Wk/dual-geth?var-exp=bench07&var-master=bench07&var-percentile=50&from=1679568700769&to=1679570615983 ) |
@@ -21,7 +21,7 @@ type reporter struct { | |||
namespace string | |||
tags map[string]string | |||
|
|||
client *client.Client | |||
client client.Client | |||
|
|||
cache map[string]int64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this field is not used anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean? It's used in both Ping and send
case <-pingTicker.C:
_, _, err := r.client.Ping(0)
return r.client.Write(bps)
Closed in favour of #26963 |
This is an alternative to #26928 . Instead of upgrading the whole influx package, it switches to use the smaller
influxdata/influxdb1-client
package.For influxdb-v2, we already use the smaller client package, so this change removes the large dependency.
There are some api-changes in the handlng of points batch, and this PR needs to be tested in prod.