Skip to content

chore(layers/prometheus-client): remove useless bytes_total counter metric#5049

Closed
koushiro wants to merge 1 commit intoapache:mainfrom
koushiro-contrib:remove-bytes-total-counter
Closed

chore(layers/prometheus-client): remove useless bytes_total counter metric#5049
koushiro wants to merge 1 commit intoapache:mainfrom
koushiro-contrib:remove-bytes-total-counter

Conversation

@koushiro
Copy link
Copy Markdown
Member

@koushiro koushiro commented Aug 26, 2024

Which issue does this PR close?

No

Rationale for this change

There is already a histogram metric called opendal_bytes, and bytes cannot be negative, so we can directly use opendal_bytes_sum (generated by opendal_bytes histogram metric) instead of opendal_bytes_total (introduced in #3246)

What changes are included in this PR?

  • remove useless bytes_total counter metric

Are there any user-facing changes?

There is no breaking change at the public API level.

@koushiro koushiro requested a review from Xuanwo as a code owner August 26, 2024 02:49
@koushiro
Copy link
Copy Markdown
Member Author

cc @flaneur2020

@github-actions github-actions Bot added the releases-note/chore The PR has a title that begins with "chore" or changes other small things that hard to tell label Aug 26, 2024
@Xuanwo
Copy link
Copy Markdown
Member

Xuanwo commented Aug 26, 2024

Hi, @koushiro, thanks a lot for the metrics related PRs. I will review them today.

@flaneur2020
Copy link
Copy Markdown
Contributor

looks good to me, thanks 👍

@Xuanwo
Copy link
Copy Markdown
Member

Xuanwo commented Aug 26, 2024

Hi, @koushiro. I'm exploring some new designs that can address the problems we're facing simultaneously. I hope to figure it out and share it with you tomorrow.

@Xuanwo
Copy link
Copy Markdown
Member

Xuanwo commented Aug 27, 2024

Hi, @koushiro, I demonstrated my idea at #5064. Do you like it?

@koushiro koushiro closed this Aug 28, 2024
@koushiro koushiro deleted the remove-bytes-total-counter branch August 28, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releases-note/chore The PR has a title that begins with "chore" or changes other small things that hard to tell

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants