summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@gitlab.com>2019-07-08 11:38:36 +0000
committerBob Van Landuyt <bob@gitlab.com>2019-07-08 11:38:36 +0000
commit5b731837810c44f5e0b988186fc66455bd5ac3e4 (patch)
treec6bf8b79b6ea9f1f4a6392fcc0b7185f060442b0 /lib
parent6dada23c55f424dfd226e0e2dc7f4f3abaebfe46 (diff)
parent031e91beebfe6d9de469a3635ba898e434da9d31 (diff)
downloadgitlab-ce-5b731837810c44f5e0b988186fc66455bd5ac3e4.tar.gz
Merge branch 'zj-praefect-config-gitlab-yml' into 'master'
Remove a high cardinality Prometheus metric See merge request gitlab-org/gitlab-ce!30122
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/gitaly_client.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/gitlab/gitaly_client.rb b/lib/gitlab/gitaly_client.rb
index 47976389af6..9e3de910e3c 100644
--- a/lib/gitlab/gitaly_client.rb
+++ b/lib/gitlab/gitaly_client.rb
@@ -33,11 +33,6 @@ module Gitlab
MUTEX = Mutex.new
- define_histogram :gitaly_controller_action_duration_seconds do
- docstring "Gitaly endpoint histogram by controller and action combination"
- base_labels Gitlab::Metrics::Transaction::BASE_LABELS.merge(gitaly_service: nil, rpc: nil)
- end
-
def self.stub(name, storage)
MUTEX.synchronize do
@stubs ||= {}
@@ -161,10 +156,6 @@ module Gitlab
# Keep track, separately, for the performance bar
self.query_time += duration
- gitaly_controller_action_duration_seconds.observe(
- current_transaction_labels.merge(gitaly_service: service.to_s, rpc: rpc.to_s),
- duration)
-
if peek_enabled?
add_call_details(feature: "#{service}##{rpc}", duration: duration, request: request_hash, rpc: rpc,
backtrace: Gitlab::Profiler.clean_backtrace(caller))