Closed
Bug 898179
Opened 11 years ago
Closed 11 years ago
Add a /status_db/ health check
Categories
(Cloud Services :: Server: Product Announcements Campaign Manager, defect)
Cloud Services
Server: Product Announcements Campaign Manager
x86_64
Linux
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mostlygeek, Assigned: jrconlin)
Details
(Whiteboard: [qa-])
This health check should: - connect to the database - run an appropriate query to make sure things are working ok - send back an HTTP 200 if everything OK - send back an HTTP 503 if anything fails This will be an endpoint that will be monitored by nagios/opsview/etc.
Assignee | ||
Comment 1•11 years ago
|
||
/status already performs a db check. Changing failure reply to 503.
Assignee | ||
Comment 2•11 years ago
|
||
https://github.com/mozilla-services/campaign_manager/commit/eb369ed8a77ded15273329413a6051acedd7efae#L1L345
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•