Skip to content

Commit

Permalink
remove message, responders and override priority fields as they are n…
Browse files Browse the repository at this point in the history
…ot supported by logzio integration
  • Loading branch information
Jonathan-Eng committed Sep 15, 2024
1 parent f5c663c commit 2d210fb
Showing 1 changed file with 0 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1354,14 +1354,6 @@ func GetAvailableNotifiers() []*NotifierPlugin {
Required: true,
Secure: true,
},
{
Label: "Message",
Description: "Alert text limited to 130 characters.",
Element: ElementTypeInput,
InputType: InputTypeText,
Placeholder: alertingTemplates.DefaultMessageTitleEmbed,
PropertyName: "message",
},
{
Label: "Description",
Description: "A description of the incident.",
Expand All @@ -1373,11 +1365,6 @@ func GetAvailableNotifiers() []*NotifierPlugin {
Element: ElementTypeCheckbox,
Description: "Automatically close alerts in LogzioOpsGenie once the alert goes back to ok.",
PropertyName: "autoClose",
}, {
Label: "Override priority",
Element: ElementTypeCheckbox,
Description: "Allow the alert priority to be set using the og_priority annotation",
PropertyName: "overridePriority",
},
{
Label: "Send notification tags as",
Expand All @@ -1399,40 +1386,6 @@ func GetAvailableNotifiers() []*NotifierPlugin {
Description: "Send the common annotations to LogzioOpsgenie as either Extra Properties, Tags or both",
PropertyName: "sendTagsAs",
},
// New in 10.3
{
Label: "Responders",
PropertyName: "responders",
Description: "If the API key belongs to a team, this field is ignored.",
Element: ElementSubformArray,
SubformOptions: []NotifierOption{
{
Label: "Type",
Description: fmt.Sprintf("%s or a template", strings.Join(alertingOpsgenie.SupportedResponderTypes, ", ")),
Element: ElementTypeInput,
Required: true,
PropertyName: "type",
},
{
Label: "Name",
Element: ElementTypeInput,
Description: "Name of the responder. Must be specified if ID and Username are empty or if the type is 'teams'.",
PropertyName: "name",
},
{
Label: "ID",
Element: ElementTypeInput,
Description: "ID of the responder. Must be specified if name and Username are empty.",
PropertyName: "id",
},
{
Label: "Username",
Element: ElementTypeInput,
Description: "User name of the responder. Must be specified if ID and Name are empty.",
PropertyName: "username",
},
},
},
},
},
{
Expand Down

0 comments on commit 2d210fb

Please sign in to comment.