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

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

Closed

Conversation

koushiro
Copy link
Contributor

@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
Contributor Author

cc @flaneur2020

@Xuanwo
Copy link
Member

Xuanwo commented Aug 26, 2024

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

@flaneur2020
Copy link
Contributor

looks good to me, thanks 👍

@Xuanwo
Copy link
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
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants