Skip to content

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

Merged
karalabe merged 1 commit intoethereum:masterfrom
imulmat4:fix_blobpool_metric_name
Aug 11, 2023
Merged

fixing blobpool metrics name from - to _ for prometheus#27901
karalabe merged 1 commit intoethereum:masterfrom
imulmat4:fix_blobpool_metric_name

Conversation

@imulmat4
Copy link
Copy Markdown
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
Copy Markdown
Member

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

Copy link
Copy Markdown
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
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