Skip to content

Conversation

@seanl-circle
Copy link
Contributor

This is a followup to #31753.

A cumulative counter is more useful when we need to measure / aggregate the metric over a longer period of time.
It also means we won't miss data,
e.g. our prometheus scrapes every 30 seconds,
and so may miss a transient spike in the preaggregated mgas/s.

This is a followup to ethereum#31753.

A cumulative counter is more useful when we need to measure / aggregate
the metric over a longer peruid of time.
It also means we won't miss data,
e.g. our prometheus scrapes every 30 seconds,
and so may miss a transient spike in the preaggregated mgas/s.
@rjl493456442 rjl493456442 added this to the 1.15.12 milestone Jun 12, 2025
rjl493456442
rjl493456442 previously approved these changes Jun 12, 2025
@rjl493456442 rjl493456442 merged commit 82c2c81 into ethereum:master Jun 12, 2025
3 of 4 checks passed
@ngotchac
Copy link
Contributor

ngotchac commented Jul 2, 2025

Not sure what happened in this PR, but the chain/gas metric hasn't been added. Is this volontary?

@seanl-circle
Copy link
Contributor Author

seanl-circle commented Jul 7, 2025

@rjl493456442 was it your intention to drop the chain/gas metric I added?
After your changes there's still only the old mgasps gauge which is kind of useless tbh.
And the commit message doesn't match the actual changes.

howjmay pushed a commit to iotaledger/go-ethereum that referenced this pull request Aug 27, 2025
This is a followup to ethereum#31753.

A cumulative counter is more useful when we need to measure / aggregate
the metric over a longer period of time. It also means we won't miss data,
e.g. our prometheus scrapes every 30 seconds, and so may miss a transient 
spike in the pre-aggregated mgas/s.

---------

Co-authored-by: Gary Rong <[email protected]>
gballet pushed a commit to gballet/go-ethereum that referenced this pull request Sep 11, 2025
This is a followup to ethereum#31753.

A cumulative counter is more useful when we need to measure / aggregate
the metric over a longer period of time. It also means we won't miss data,
e.g. our prometheus scrapes every 30 seconds, and so may miss a transient 
spike in the pre-aggregated mgas/s.

---------

Co-authored-by: Gary Rong <[email protected]>
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.

3 participants