Skip to content

Commit bb4132f

Browse files
authored
Update audit event names in readiness healthcheck RFC
Rename app process audit events to better match the liveness healthcheck
1 parent eb17054 commit bb4132f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,14 @@ 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 the liveness healthchecks fail, it results in the following audit events:
163+
`audit.app.process.crash` and `audit.app.process.rescheduling`.
164+
165+
Similarly, when AI readiness healthcheck succeeds a new application event should be emitted:
166+
`audit.app.process.ready`. And when AI readiness healthcheck fails a new event should be emitted:
167+
`audit.app.process.notready`.
165168

166169
### Open Questions
167170
* What metrics would be helpful for app devs and operators?

0 commit comments

Comments
 (0)