Skip to content

Commit

Permalink
DisableAlerts field wording.
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierCazade committed Mar 14, 2023
1 parent 316d507 commit 7776ef4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions api/v1beta1/flowcollector_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,9 @@ const (
)

// Name of a processor alert
// Possible values are: `NetObservNoFlows`, which is triggered when no flows are being observed for a certain period, and `NetObservLokiError`, which is triggered when flows are being dropped due to Loki errors.disableAlerts is a list of alerts related to FLP that should not be created
// Possible values are:
// `NetObservNoFlows`, which is triggered when no flows are being observed for a certain period
// `NetObservLokiError`, which is triggered when flows are being dropped due to Loki errors.
// +kubebuilder:validation:Enum:="NetObservNoFlows";"NetObservLokiError"
type FLPAlert string

Expand All @@ -291,7 +293,7 @@ type FLPMetrics struct {
//+kubebuilder:default:={"egress","packets"}
IgnoreTags []string `json:"ignoreTags,omitempty"`

// disableAlerts is a list of alerts that should not be created.
// disableAlerts is a list of alerts that should be disabled.
// +optional
DisableAlerts []FLPAlert `json:"disableAlerts,omitempty"`
}
Expand Down

0 comments on commit 7776ef4

Please sign in to comment.