Skip to content

Commit

Permalink
metrics/influxdb: use smaller dependency and reuse code between v1 an…
Browse files Browse the repository at this point in the history
…d v2 reporters (ethereum#26963)

This change switches to use the smaller influxdata/influxdb1-client package instead of depending on the whole infuxdb package. The new smaller client is very similar to the influxdb-v2 client, which made it possible to refactor the two reporters to reuse code a lot more.
  • Loading branch information
holiman authored and mmsqe committed Dec 7, 2023
1 parent 012b5b2 commit 15f2d6f
Show file tree
Hide file tree
Showing 5 changed files with 254 additions and 636 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ require (
github.com/holiman/bloomfilter/v2 v2.0.3
github.com/holiman/uint256 v1.2.2-0.20230321075855-87b91420868c
github.com/huin/goupnp v1.0.3
github.com/influxdata/influxdb v1.8.3
github.com/influxdata/influxdb-client-go/v2 v2.4.0
github.com/influxdata/influxdb1-client v0.0.0-20220302092344-a9ab5670611c
github.com/jackpal/go-nat-pmp v1.0.2
github.com/jedisct1/go-minisign v0.0.0-20190909160543-45766022959e
github.com/julienschmidt/httprouter v1.3.0
Expand Down
Loading

0 comments on commit 15f2d6f

Please sign in to comment.