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 18, 2019
1 parent 4b30cd5 commit fbb6442
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 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,59 @@
}
}
},
"/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"
},
{
"name": "file",
"in": "path",
"required": true,
"example": "application.js"
}
]
}
},
"/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 fbb6442

Please sign in to comment.