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

This adds a simple (static) metric for counting cache stripes #9263

Merged
merged 1 commit into from
Jan 17, 2023

Conversation

zwoop
Copy link
Contributor

@zwoop zwoop commented Dec 20, 2022

With this patch, we get metrics like

proxy.process.cache.stripes 4
proxy.process.cache.volume_0.stripes 2
proxy.process.cache.volume_1.stripes 2

@zwoop zwoop added this to the 10.0.0 milestone Dec 20, 2022
@zwoop zwoop self-assigned this Dec 20, 2022
@zwoop zwoop requested review from cmcfarlen and ezelkow1 December 20, 2022 02:36
cmcfarlen
cmcfarlen previously approved these changes Dec 20, 2022
@ezelkow1
Copy link
Member

[approve ci]

@SolidWallOfCode
Copy link
Member

Would it not be simpler to copy the value for gnvol instead of independently computing the value? I'm not happy with "spans", either, since those are called "stripes" in the documentation.

@bryancall
Copy link
Contributor

@zwoop Can you please address @SolidWallOfCode comment.

@bryancall bryancall requested a review from bneradt January 10, 2023 00:30
bneradt
bneradt previously approved these changes Jan 10, 2023
With this patch, we get metrics like

proxy.process.cache.stripes 4
proxy.process.cache.volume_0.stripes 2
proxy.process.cache.volume_1.stripes 2
@zwoop zwoop dismissed stale reviews from bneradt and cmcfarlen via 13bb246 January 13, 2023 17:36
@zwoop zwoop changed the title This adds a simple (static) metric for counting cache spans This adds a simple (static) metric for counting cache stripes Jan 13, 2023
@zwoop
Copy link
Contributor Author

zwoop commented Jan 13, 2023

Would it not be simpler to copy the value for gnvol instead of independently computing the value? I'm not happy with "spans", either, since those are called "stripes" in the documentation.

I changed all "spans" to "stripes".

@zwoop
Copy link
Contributor Author

zwoop commented Jan 17, 2023

[approve ci autest 2]

@zwoop zwoop merged commit ff7065f into apache:master Jan 17, 2023
@zwoop zwoop deleted the SpanVolMetrics branch January 17, 2023 22:51
@maskit maskit mentioned this pull request Aug 15, 2024
91 tasks
masaori335 pushed a commit to masaori335/trafficserver that referenced this pull request Dec 10, 2024
…#9263)

With this patch, we get metrics like

proxy.process.cache.stripes 4
proxy.process.cache.volume_0.stripes 2
proxy.process.cache.volume_1.stripes 2

(cherry picked from commit ff7065f)
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.

6 participants