[tor-commits] [dip/master] Record gitaly latency

hiro at torproject.org hiro at torproject.org
Tue Dec 10 08:05:00 UTC 2019


commit 02b0cdd435554354607323c50144bac90e77f9c8
Author: hiro <hiro at torproject.org>
Date:   Tue Dec 10 09:04:52 2019 +0100

    Record gitaly latency
---
 roles/gitaly/templates/gitaly.toml.j2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/roles/gitaly/templates/gitaly.toml.j2 b/roles/gitaly/templates/gitaly.toml.j2
index e70a0f8..22a2e60 100644
--- a/roles/gitaly/templates/gitaly.toml.j2
+++ b/roles/gitaly/templates/gitaly.toml.j2
@@ -37,8 +37,8 @@ level = "info"
 dir = "{{ ansible_user_dir }}/log/gitaly"
 
 # # You can optionally configure Gitaly to record histogram latencies on GRPC method calls
-# [prometheus]
-# grpc_latency_buckets = [0.001, 0.005, 0.025, 0.1, 0.5, 1.0, 10.0, 30.0, 60.0, 300.0, 1500.0]
+[prometheus]
+grpc_latency_buckets = [0.001, 0.005, 0.025, 0.1, 0.5, 1.0, 10.0, 30.0, 60.0, 300.0, 1500.0]
 
 [gitaly-ruby]
 # The directory where gitaly-ruby is installed



More information about the tor-commits mailing list