summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-12-12 15:11:34 +0100
committerPawel Chojnacki <pawel@chojnacki.ws>2017-12-12 15:11:34 +0100
commite391fe1d6d39837d6aebb14f90e200fc6ff42d81 (patch)
tree9fa488dfe3fb115701b5f2572f1dc870ffd78fbf
parent52d9ee6299a55fc3362a47207e3d62fba1dfbdd1 (diff)
downloadgitlab-ce-e391fe1d6d39837d6aebb14f90e200fc6ff42d81.tar.gz
Reduce cardinality of gitlab_cache_operation_duration_seconds histogram
-rw-r--r--lib/gitlab/metrics/subscribers/rails_cache.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/metrics/subscribers/rails_cache.rb b/lib/gitlab/metrics/subscribers/rails_cache.rb
index efd3c9daf79..250897a79c2 100644
--- a/lib/gitlab/metrics/subscribers/rails_cache.rb
+++ b/lib/gitlab/metrics/subscribers/rails_cache.rb
@@ -66,7 +66,7 @@ module Gitlab
:gitlab_cache_operation_duration_seconds,
'Cache access time',
Transaction::BASE_LABELS.merge({ action: nil }),
- [0.001, 0.002, 0.005, 0.01, 0.02, 0.05, 0.1, 0.500, 2.0, 10.0]
+ [0.001, 0.01, 0.1, 1, 10]
)
end