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

Instance Method Details

#sidekiq_compound_metricsObject

Get a compound response of all the previously mentioned metrics

Examples:

Gitlab.sidekiq_compound_metrics


35
36
37
# File 'lib/gitlab/client/sidekiq.rb', line 35

def sidekiq_compound_metrics
  get('/sidekiq/compound_metrics')
end

#sidekiq_job_statsObject

Get the current Job Statistics

Examples:

Gitlab.sidekiq_job_stats


27
28
29
# File 'lib/gitlab/client/sidekiq.rb', line 27

def sidekiq_job_stats
  get('/sidekiq/job_stats')
end

#sidekiq_process_metricsObject

Get the current Process Metrics

Examples:

Gitlab.sidekiq_process_metrics


19
20
21
# File 'lib/gitlab/client/sidekiq.rb', line 19

def sidekiq_process_metrics
  get('/sidekiq/process_metrics')
end

#sidekiq_queue_metricsObject

Get the current Queue Metrics

Examples:

Gitlab.sidekiq_queue_metrics


11
12
13
# File 'lib/gitlab/client/sidekiq.rb', line 11

def sidekiq_queue_metrics
  get('/sidekiq/queue_metrics')
end