Skip to content
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: Support V2 #23194

Merged
merged 1 commit into from
Aug 17, 2021
Merged

metrics/influxdb: Support V2 #23194

merged 1 commit into from
Aug 17, 2021

Conversation

jwasinger
Copy link
Contributor

@jwasinger jwasinger commented Jul 11, 2021

This PR builds on #22726:
* adds flag to enable v2 (--metrics.influxdbv2), flags for v2-specific features (--metrics.influxdb.token, --metrics.influxdb.bucket), also carries over addition of support for specifying organization (--metrics.influxdb.organization from #22726).
* retains backwards compatibility with influxdb-v1.

@jwasinger jwasinger changed the title Support InfluxDB V2 for Metrics metrics/influxdb: Support V2 Jul 11, 2021
@jwasinger jwasinger marked this pull request as ready for review July 12, 2021 03:13
@jwasinger
Copy link
Contributor Author

jwasinger commented Jul 12, 2021

I can see that this seems to work by looking at the schemas created in Influx, and also seeing that Geth is successfully pushing data. However, I ran into issues connecting it to Grafana using the auth token. Tried adding the auth token via an http header as suggested in https://community.grafana.com/t/grafana-issue-connecting-to-influxdb-2-0-3-influxql/42757/4 . But that didn't work. I probably won't have too much free time to continue digging on that this week. But the issue doesn't seem relevant to this PR (only ensuring that it works as expected).

@karalabe karalabe added this to the 1.10.6 milestone Jul 13, 2021
@jwasinger jwasinger force-pushed the influxdbv2 branch 2 times, most recently from ea6a7ff to 814912e Compare July 15, 2021 03:40
@fjl fjl modified the milestones: 1.10.6, 1.10.7 Jul 27, 2021
Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good to me!

cmd/utils/flags.go Show resolved Hide resolved
@karalabe karalabe modified the milestones: 1.10.7, 1.10.8 Aug 10, 2021
…casas' changes), leave existing support for v1 to maintain backwards-compatibility.

Co-authored-by: Jared Wasinger <j-wasinger@hotmail.com>
Co-authored-by: Italo A. Casas <me@italoacasas.com>
@holiman
Copy link
Contributor

holiman commented Aug 12, 2021

Rebased on master so I can test it more easily

@holiman
Copy link
Contributor

holiman commented Aug 12, 2021

Ok, tested this with a local node against our grafana/influxv1 (obs: version 1) cluster. Seems to work fine, in the sense that it doesn't break the old stuff.

Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@holiman holiman merged commit 6902485 into ethereum:master Aug 17, 2021
atif-konasl pushed a commit to frozeman/pandora-execution-engine that referenced this pull request Oct 15, 2021
…casas' changes), leave existing support for v1 to maintain backwards-compatibility. (ethereum#23194)

This PR adds flag to enable InfluxDB v2 (--metrics.influxdbv2), flags for v2-specific features (--metrics.influxdb.token, --metrics.influxdb.bucket), also carries over addition of support for specifying organization (--metrics.influxdb.organization), but still retains backwards compatibility with InfluxDB v1.
@fjl fjl mentioned this pull request Mar 14, 2023
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 10, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 10, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 10, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 13, 2024
JukLee0ira pushed a commit to JukLee0ira/XDPoSChain that referenced this pull request Dec 16, 2024
JukLee0ira pushed a commit to JukLee0ira/XDPoSChain that referenced this pull request Dec 16, 2024
JukLee0ira pushed a commit to JukLee0ira/XDPoSChain that referenced this pull request Dec 20, 2024
JukLee0ira pushed a commit to JukLee0ira/XDPoSChain that referenced this pull request Dec 20, 2024
JukLee0ira pushed a commit to JukLee0ira/XDPoSChain that referenced this pull request Dec 22, 2024
JukLee0ira pushed a commit to JukLee0ira/XDPoSChain that referenced this pull request Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants