Module: Gitlab::Client::Sidekiq
- Included in:
- Gitlab::Client
- Defined in:
- lib/gitlab/client/sidekiq.rb
Overview
Defines methods related to sidekiq metrics.
Instance Method Summary collapse
-
#sidekiq_compound_metrics ⇒ Object
Get a compound response of all the previously mentioned metrics.
-
#sidekiq_job_stats ⇒ Object
Get the current Job Statistics.
-
#sidekiq_process_metrics ⇒ Object
Get the current Process Metrics.
-
#sidekiq_queue_metrics ⇒ Object
Get the current Queue Metrics.
Instance Method Details
#sidekiq_compound_metrics ⇒ Object
Get a compound response of all the previously mentioned metrics
35 36 37 |
# File 'lib/gitlab/client/sidekiq.rb', line 35 def sidekiq_compound_metrics get('/sidekiq/compound_metrics') end |
#sidekiq_job_stats ⇒ Object
Get the current Job Statistics
27 28 29 |
# File 'lib/gitlab/client/sidekiq.rb', line 27 def sidekiq_job_stats get('/sidekiq/job_stats') end |
#sidekiq_process_metrics ⇒ Object
Get the current Process Metrics
19 20 21 |
# File 'lib/gitlab/client/sidekiq.rb', line 19 def sidekiq_process_metrics get('/sidekiq/process_metrics') end |
#sidekiq_queue_metrics ⇒ Object
Get the current Queue Metrics
11 12 13 |
# File 'lib/gitlab/client/sidekiq.rb', line 11 def sidekiq_queue_metrics get('/sidekiq/queue_metrics') end |