Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 99 additions & 30 deletions data-models/pkg/protos/health_event.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions data-models/protobufs/health_event.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ message HealthEvents {
repeated HealthEvent events = 2;
}

// ProcessingStrategy defines how downstream modules should handle the event.
// UNSPECIFIED: events without an explicit strategy use this default, which platform-connector normalizes to EXECUTE_REMEDIATION.
// EXECUTE_REMEDIATION: normal behavior; downstream modules may update cluster state.
// STORE_ONLY: observability-only behavior; event should be persisted/exported but should not modify cluster resources.
enum ProcessingStrategy {
UNSPECIFIED = 0;
EXECUTE_REMEDIATION = 1;
STORE_ONLY = 2;
}

enum RecommendedAction {
NONE = 0;
COMPONENT_RESET = 2;
Expand Down Expand Up @@ -66,6 +76,7 @@ message HealthEvent {
string nodeName = 13;
BehaviourOverrides quarantineOverrides = 14;
BehaviourOverrides drainOverrides = 15;
ProcessingStrategy processingStrategy = 16;
}

message BehaviourOverrides {
Expand Down
Loading
Loading