Skip to content

Commit 6a627d6

Browse files
authored
Merge pull request #715 from cloudfoundry/readiness-audit-event-rfc
Update audit event names in readiness healthcheck RFC
2 parents ae0d476 + 2661b93 commit 6a627d6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

toc/rfc/rfc-0020-readiness-healthchecks.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,12 @@ to route pool". When AI readiness healthcheck fails a log line is printed to AI
157157
logs: "Container failed the readiness health check. Container marked not ready
158158
and removed from route pool".
159159

160-
#### App events
160+
#### App Audit Events
161161

162-
When AI readiness healthcheck succeeds a new application event is emitted:
163-
"app.ready". When AI readiness healthcheck fails a new event is emitted:
164-
"app.notready".
162+
When a liveness healthcheck fails, it results in the `audit.app.process.crash` audit event.
163+
164+
Similarly, when an AI readiness healthcheck succeeds an `audit.app.process.ready` event should be emitted.
165+
And when an AI readiness healthcheck fails an `audit.app.process.notready` event should be emitted.
165166

166167
### Open Questions
167168
* What metrics would be helpful for app devs and operators?

0 commit comments

Comments
 (0)