Commit 67948ca8 authored by Matthias Käppler's avatar Matthias Käppler

Merge branch 'bvl-use-sli-accessor' into 'master'

Use request_apdex accessor method

See merge request gitlab-org/gitlab!71075
parents b28d394b 05702880
......@@ -116,7 +116,7 @@ module Gitlab
def record_apdex_if_needed(elapsed)
return unless Gitlab::Metrics::RailsSlis.request_apdex_counters_enabled?
Gitlab::Metrics::Sli[:rails_request_apdex].increment(
Gitlab::Metrics::RailsSlis.request_apdex.increment(
labels: labels_from_context,
# hardcoded 1s here will be replaced by a per-endpoint value.
# https://gitlab.com/gitlab-com/gl-infra/scalability/-/issues/1223
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment