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

fixing blobpool metrics name from - to _ for prometheus #27901

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

imulmat4
Copy link
Contributor

@imulmat4 imulmat4 commented Aug 10, 2023

Created this PR per #27900. I am running telegraf as a prometheus server and unable to scrape metrics because the blobpool metrics does not conform to Prometheus metrics naming standards. Please refer to https://prometheus.io/docs/practices/naming/.
All I am doing is changing the - to a _.
I tested and built this and my node was syncing and metrics names are still easily readable:

blobpool_shelf_3_slotused 0

# TYPE blobpool_shelf_4_datagaps gauge
blobpool_shelf_4_datagaps 0

Apologies if I missed something here. First time open a PR in this repo.

@karalabe
Copy link
Member

Ah, bummer. Ok, we can do that, thx

Copy link
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

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

SGTM

@karalabe karalabe added this to the 1.12.2 milestone Aug 11, 2023
@karalabe karalabe merged commit 6ddb92c into ethereum:master Aug 11, 2023
1 check passed
devopsbo3 pushed a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
weiihann pushed a commit to weiihann/go-ethereum that referenced this pull request Mar 13, 2024
gballet pushed a commit to gballet/go-ethereum that referenced this pull request Mar 17, 2024
…m#27901) (#403)

Co-authored-by: imulmat4 <117636097+imulmat4@users.noreply.github.com>
gballet pushed a commit to gballet/go-ethereum that referenced this pull request May 7, 2024
…m#27901) (#403)

Co-authored-by: imulmat4 <117636097+imulmat4@users.noreply.github.com>
gballet pushed a commit to gballet/go-ethereum that referenced this pull request May 8, 2024
…m#27901) (#403)

Co-authored-by: imulmat4 <117636097+imulmat4@users.noreply.github.com>
gballet pushed a commit to gballet/go-ethereum that referenced this pull request May 8, 2024
…m#27901) (#403)

Co-authored-by: imulmat4 <117636097+imulmat4@users.noreply.github.com>
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.

2 participants