Skip to content

Commit

Permalink
Add sidekiq support to openapi
Browse files Browse the repository at this point in the history
Presently the middleware prevents us from monitoring sidekiq.
Ideally this would probably be on a different machine (similar to robot-console)
  • Loading branch information
jcoyne committed Dec 19, 2019
1 parent 4b30cd5 commit 8ff1924
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions openapi.json
Expand Up @@ -61,6 +61,10 @@
{
"name": "embargoes",
"description": "Operations about embargoes"
},
{
"name": "sidekiq",
"description": "Queue monitoring"
}
],
"paths": {
Expand All @@ -84,6 +88,65 @@
}
}
},
"/queues": {
"get": {
"summary": "Endpoint for sidekiq web monitoring",
"tags": [
"sidekiq"
],
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/queues/{path}/{file}": {
"get": {
"summary": "Assets for sidekiq web monitoring",
"tags": [
"sidekiq"
],
"responses": {
"200": {
"description": "OK"
}
},
"parameters": [
{
"name": "path",
"in": "path",
"required": true,
"example": "javascripts",
"schema": {
"type": "string"
}
},
{
"name": "file",
"in": "path",
"required": true,
"example": "application.js",
"schema": {
"type": "string"
}
}
]
}
},
"/queues/stats": {
"get": {
"summary": "Stats for sidekiq web monitoring",
"tags": [
"sidekiq"
],
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/v1/about": {
"get": {
"summary": "A healthcheck endpoint",
Expand Down

0 comments on commit 8ff1924

Please sign in to comment.