influxdata / influxdata/ui

Notifications: Add 'regex' and 'notregex' capability to the Notification Rules

Open
#423 5 comments 0 reactions 1 assignee Claimed by @barbaranelson View on GitHub
area/tasks monitoring-and-alerting on-hold-for-dev team/ui
Dominant language
TypeScript
Stars
117
Forks
51
Avg merge
2d 15h
Merged PRs (30d)
4

Description

**Proposal:**
From https://github.com/influxdata/EAR/issues/1932
Add 'regex' and 'notregex' to the notification rule's list of operators.

**Current behavior:**
Describe what currently happens.
Create a notification rule via the UI; add a tag condition; observe that you can only select == as the operator.
Use the REST API to retrieve the notificationRule definition
Use the REST API to PUT an update to the notificationRule, changing the operator on the tagRule from equal to 'regex'
Observe a success response from your PUT request.
Go back to the InfluxDB UI and try to view your modified notification rule
Get an error message: "An InfluxDB error has occurred.
**
**Desired behavior:**
Create a notification rule via the UI; add a tag condition; be able to select the 'regex' operator';
Use the REST API to retrieve the notificationRule definition
Use the REST API to PUT an update to the notificationRule, changing the operator on the tagRule from equal to 'regex'
Observe a success response from your PUT request.
Go back to the InfluxDB UI and try to view your modified notification rule
View the modified notification rule sucessfully.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.