OPA can periodically report status updates to remote HTTP servers. The updates contain status information for OPA itself as well as the that have been downloaded and activated.
OPA sends status reports whenever bundles are downloaded and activated. If the bundle download or activation fails for any reason, the status update will include error information describing the failure.
See the Configuration Reference for configuration details.
OPA expects the service to expose an API endpoint that will receive status updates.
{
"labels": {
"app": "my-example-app",
"version": "v0.12.2"
},
"bundle": {
"active_revision": "TODO",
"last_successful_download": "2018-01-01T00:00:00.000Z",
"last_successful_activation": "2018-01-01T00:00:00.000Z"
Status updates contain the following fields:
If the bundle download or activation failed, the status update will contain the following additional fields.
Services should reply with HTTP status 200 OK
if the status update is processed successfully.