Skip to content

Commit

Permalink
Merge pull request #715 from cloudfoundry/readiness-audit-event-rfc
Browse files Browse the repository at this point in the history
Update audit event names in readiness healthcheck RFC
  • Loading branch information
beyhan authored Dec 12, 2023
2 parents ae0d476 + 2661b93 commit 6a627d6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions toc/rfc/rfc-0020-readiness-healthchecks.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,12 @@ to route pool". When AI readiness healthcheck fails a log line is printed to AI
logs: "Container failed the readiness health check. Container marked not ready
and removed from route pool".

#### App events
#### App Audit Events

When AI readiness healthcheck succeeds a new application event is emitted:
"app.ready". When AI readiness healthcheck fails a new event is emitted:
"app.notready".
When a liveness healthcheck fails, it results in the `audit.app.process.crash` audit event.

Similarly, when an AI readiness healthcheck succeeds an `audit.app.process.ready` event should be emitted.
And when an AI readiness healthcheck fails an `audit.app.process.notready` event should be emitted.

### Open Questions
* What metrics would be helpful for app devs and operators?
Expand Down

0 comments on commit 6a627d6

Please sign in to comment.