Jump to: navigation, search

Difference between revisions of "MagnetoDB/specs/monitoring-health-check"

(Return Body)
(Return Code)
Line 31: Line 31:
 
     {}
 
     {}
  
===== Return Code =====
+
===== Response Code =====
 
200
 
200
  

Revision as of 12:19, 29 September 2014

Monitoring - healthcheck http request

Launchpad: [1]

Request for check MagnetoDB health status.

Specification status

Needs approval

Problem Description

Service administrators should have an ability for lightweigt checking of MagnetoDB health status.

Proposed Change

It should be http request without credentials, that will allow to understand that: 1. magnetodb-api service is running 2. Keystone is available to magnetodb-api 3. Backend is available to magnetodb-api and working properly

Request Syntax

POST v1/health_status

Headers
  • User-Agent
  • Content-Type: application/json
  • Accept: application/json
Request Body
   {}
Response Code

200

Response Body
   {
   "status": {"OK", "Error"}
   "details": <"Keystone {OK, Error}, Cassandra {OK, Error}">
   }

Alternatives

none

Security Impact

We consider that this request will not need any credentials and an ability to send it to MagnetoDB should be under external control

Notifications Impact

none

Other End User Impact

none

Performance Impact

none

Other Deployer Impact

none

Developer Impact

none

Implementation

none

Assignee(s)

Primary assignee:

 aostapenko

Other contributors:

 none
Work Items

none

Dependencies

none

Documentation Impact

Feature needs to be described in doc sources

References

none