Skip to content

Redirect Sidekiq job latencies to Kibana links

Replace dashboard panels with sidekiq_jobs_completion_seconds and sidekiq_jobs_queue_duration_seconds to Kibana visualizations. We'll be cleaning the usage of these histogram metrics in !6096 (merged).

Context: !6054 (comment 1487633466)

To test dashboards:

dashboards=("sidekiq/main.dashboard.jsonnet" "sidekiq/queue-detail.dashboard.jsonnet" "sidekiq/shard-detail.dashboard.jsonnet" "sidekiq/worker-detail.dashboard.jsonnet" "stage-groups/authentication_and_authoriz.dashboard.jsonnet")
for d in ${dashboards[@]}; do ./test-dashboard.sh $d; done
Installed https://dashboards.gitlab.net/dashboard/snapshot/h07DpdwwQAAPqCDlZ1ahqO1E0Hh7Bo3k - sidekiq: Overview
Installed https://dashboards.gitlab.net/dashboard/snapshot/AsGP9HunFvZ3d3aA6jy3rs2rsv2gXkX0 - sidekiq: Queue Detail
Installed https://dashboards.gitlab.net/dashboard/snapshot/vIV2i3N12cBwwpO5Ctrxr8yhvOPYitju - sidekiq: Shard Detail
Installed https://dashboards.gitlab.net/dashboard/snapshot/ZahFjfAvCvIoDaAOmaq4a35DS5QSs5ip - sidekiq: Worker Detail
Installed https://dashboards.gitlab.net/dashboard/snapshot/8IiMVn4p1bbFtMc41k4GZi0hwV9fKbtR - stage-groups: Authentication and Authorization: Group dashboard

To test by selecting multiple template variables, for example in the Shard Detail dashboard, add var-shard= params manually, e.g.: https://dashboards.gitlab.net/dashboard/snapshot/vIV2i3N12cBwwpO5Ctrxr8yhvOPYitju?var-shard=catchall&var-shard=urgent-cpu-bound

The Kibana visualization also supports when multiple shards/queues/workers are selected, using regex query.

Edited by Marco Gregorius

Merge request reports

Loading