diff options
Diffstat (limited to 'lib/gitlab/sidekiq_logging/structured_logger.rb')
-rw-r--r-- | lib/gitlab/sidekiq_logging/structured_logger.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/sidekiq_logging/structured_logger.rb b/lib/gitlab/sidekiq_logging/structured_logger.rb index 56762c0fb4b..c65d9c5ddd5 100644 --- a/lib/gitlab/sidekiq_logging/structured_logger.rb +++ b/lib/gitlab/sidekiq_logging/structured_logger.rb @@ -100,6 +100,8 @@ module Gitlab unless job_urgency.empty? payload['urgency'] = job_urgency payload['target_duration_s'] = Gitlab::Metrics::SidekiqSlis.execution_duration_for_urgency(job_urgency) + payload['target_scheduling_latency_s'] = + Gitlab::Metrics::SidekiqSlis.queueing_duration_for_urgency(job_urgency) end payload |