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

Add metric for saturation (backlog count) #82

Closed
wants to merge 4 commits into from

Conversation

eparker-tulip
Copy link
Contributor

@eparker-tulip eparker-tulip commented Jul 11, 2024

Adds otr_saturation_delta as a way to measure if OTR is struggling to keep up. It is the number of incoming events - outgoing, i.e., backlog. Once more data is collected, this could be presented in a different way if needed.

@torywheelwright
Copy link
Member

As written, is this meaningfully different than the metric that tracks the buffer capacity? In either case it's essentially a measure of the number of messages "in" oplogtoredis. Is there a way that we can measure this in an absolute sense, so that we can see where we're at in utilization even if we haven't started bottlenecking anywhere (which is what would cause us to see some signal in the buffer capacity metric)?

@eparker-tulip eparker-tulip deleted the eparker.saturation-metric branch October 18, 2024 14:47
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.

2 participants