Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.18 KB

notification-events.md

File metadata and controls

40 lines (26 loc) · 1.18 KB
title summary reviewed component versions
Custom Checks notification events
Learn about the integration events exposed by ServiceControl for the Custom Checks plugin
2024-10-28
CustomChecks
CustomChecks:*

ServiceControl exposes two integration events related to the Custom Checks plugin.

For information about how to subscribe to ServiceControl integration events, see Using ServiceControl events.

Each custom check begins in an unknown state. Once the custom checks executes and reports its status to ServiceControl the custom check will transition to a pass or fail status. External integration events are raised whenever custom checks transition into new states.

graph TD

U(Unknown)
F[Fail]
P[Pass]

U -. Succeeded .-> P
U -. Failed .-> F

F -- Succeeded --> P
P -- Failed --> F
Loading

CustomCheckFailed

The CustomCheckFailed event is published if a custom check transitions from the unknown or pass state to the fail state.

snippet: CustomCheckFailed

CustomCheckSucceeded

The CustomCheckSucceeded event is published if a custom check transitions from the unknown or fail state to the pass state.

snippet: CustomCheckSucceeded