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

Adding more buckets to loki_memcache_request_duration_seconds histogram #9431

Merged

Conversation

dannykopping
Copy link
Contributor

What this PR does / why we need it:
Users using extstore (with NVMe drives) may experience latencies higher than the ~250ms max as previously defined.

Danny Kopping added 2 commits May 9, 2023 16:47
We are now using extstore (with NVMe drives) so latenct can be higher than the ~250ms max

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
@dannykopping dannykopping force-pushed the dannykopping/add-memcached-req-buckets branch from d511464 to c190dd8 Compare May 9, 2023 14:49
@pull-request-size pull-request-size bot added size/S and removed size/XS labels May 9, 2023
@@ -65,8 +65,13 @@ func NewMemcached(cfg MemcachedConfig, client MemcachedClient, name string, reg
Namespace: "loki",
Name: "memcache_request_duration_seconds",
Help: "Total time spent in seconds doing memcache requests.",
// Memcached requests are very quick: smallest bucket is 16us, biggest is 1s
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was wrong; the max was ~250ms

@dannykopping dannykopping marked this pull request as ready for review May 9, 2023 14:49
@dannykopping dannykopping requested a review from a team as a code owner May 9, 2023 14:49
Copy link
Contributor

@MichelHollands MichelHollands left a comment

Choose a reason for hiding this comment

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

LGTM

@dannykopping dannykopping merged commit 6141347 into grafana:main May 9, 2023
@dannykopping dannykopping deleted the dannykopping/add-memcached-req-buckets branch May 9, 2023 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants