Unverified Commit e130002e authored by Ben Kochie's avatar Ben Kochie
Browse files

Fix sidekiq latency unit.

parent b290c32b
Pipeline #98378 passed with stage
in 49 seconds
......@@ -33,7 +33,7 @@ metrics.
* Count -- `process_count`
* Memory usage -- `process_memory_bytes`
1. [Sidekiq](lib/gitlab_monitor/sidekiq.rb) -- `sidekiq_queue_size`,
`sidekiq_queue_latency`, `sidekiq_enqueued_jobs`, `sidekiq_dead_jobs`,
`sidekiq_queue_latency_seconds`, `sidekiq_enqueued_jobs`, `sidekiq_dead_jobs`,
`sidekiq_running_jobs`, `sidekiq_to_be_retried_jobs`
### Setup with GitLab Development Kit
......
......@@ -31,7 +31,7 @@ module GitLab
Sidekiq::Queue.all.each do |queue|
@metrics.add("sidekiq_queue_size", queue.size, name: queue.name)
@metrics.add("sidekiq_queue_latency", queue.latency, name: queue.name)
@metrics.add("sidekiq_queue_latency_seconds", queue.latency, name: queue.name)
end
self
......
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