Commit 4b6284c8 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'add-dead-jobs-to-api-sidekiq-metrics' into 'master'

add dead jobs size to sidekiq api metrics

See merge request gitlab-org/gitlab!19350
parents 909ea6c5 50b6f490
---
title: Add dead jobs to Sidekiq metrics API
merge_request: 19350
author: Marco Peterseil
type: added
......@@ -92,7 +92,8 @@ Example response:
"jobs": {
"processed": 2,
"failed": 0,
"enqueued": 0
"enqueued": 0,
"dead": 0
}
}
```
......@@ -145,7 +146,8 @@ Example response:
"jobs": {
"processed": 2,
"failed": 0,
"enqueued": 0
"enqueued": 0,
"dead": 0
}
}
```
......@@ -36,7 +36,8 @@ module API
{
processed: stats.processed,
failed: stats.failed,
enqueued: stats.enqueued
enqueued: stats.enqueued,
dead: stats.dead_size
}
end
end
......
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