Skip to content

util/metric: delete Rate#81777

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
andreimatei:misc.delete-rate
May 25, 2022
Merged

util/metric: delete Rate#81777
craig[bot] merged 1 commit intocockroachdb:masterfrom
andreimatei:misc.delete-rate

Conversation

@andreimatei
Copy link
Copy Markdown
Contributor

This exponentially moving Rate was unused. It also was exporting to
Prometheus as a gauge. It seems unlikely that we'll use this in the
future; I think we're happy enough with counters and computing rates in
the monitoring system. The Rate seems to have come from a time when we
liked moving measurements more; since then, we've adapted the Histogram,
for example, to include non-windowed state.

Release note: None

@andreimatei andreimatei requested review from a team, dhartunian and tbg May 24, 2022 20:11
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@abarganier abarganier left a comment

Choose a reason for hiding this comment

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

Screen Shot 2022-05-25 at 10.21.28 AM.png

My favorite kind of PR 😍

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @dhartunian)

This exponentially moving Rate was unused. It also was exporting to
Prometheus as a gauge. It seems unlikely that we'll use this in the
future; I think we're happy enough with counters and computing rates in
the monitoring system. The Rate seems to have come from a time when we
liked moving measurements more; since then, we've adapted the Histogram,
for example, to include non-windowed state.

Release note: None
@andreimatei
Copy link
Copy Markdown
Contributor Author

bors r+

@craig craig bot merged commit 5b0453e into cockroachdb:master May 25, 2022
@craig
Copy link
Copy Markdown
Contributor

craig bot commented May 25, 2022

Build succeeded:

@andreimatei andreimatei deleted the misc.delete-rate branch May 28, 2022 01:39
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.

4 participants