Commit 50b6f490 authored by Marco Peterseil's avatar Marco Peterseil Committed by Lin Jen-Shin

add dead jobs size to sidekiq api metrics

parent 909ea6c5
---
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