Skip to content

Commit

Permalink
Update notifications.md
Browse files Browse the repository at this point in the history
- Fix external reference urls.
  • Loading branch information
pierrebailletsonos authored Nov 21, 2024
1 parent 5f59344 commit 16232cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/features/notifications.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ add blocks and attachments for Slack, subject for Email or URL path, and body fo
In addition to custom notification template administrator and configure custom triggers. Custom trigger defines the
condition when the notification should be sent. The definition includes name, condition and notification templates reference.
The condition is a predicate expression that returns true if the notification should be sent. The trigger condition
evaluation is powered by [antonmedv/expr](https://github.com/antonmedv/expr).
The condition language syntax is described at [Language-Definition.md](https://github.com/antonmedv/expr/blob/master/docs/Language-Definition.md).
evaluation is powered by [expr-lang/expr](https://github.com/expr-lang/expr).
The condition language syntax is described at [Language-Definition.md](https://github.com/expr-lang/expr/blob/master/docs/language-definition.md).

The trigger is configured in `argo-rollouts-notification-configmap` ConfigMap. For example the following trigger sends a notification
when rollout pod spec uses `argoproj/rollouts-demo:purple` image:
Expand All @@ -165,4 +165,4 @@ Each condition might use several templates. Typically each template is responsib
The following prometheus metrics are emitted when notifications are enabled in argo-rollouts.
- notification_send_success is a counter that measures how many times the notification is sent successfully.
- notification_send_error is a counter that measures how many times the notification failed to send.
- notification_send is a histogram that measures performance of sending notification.
- notification_send is a histogram that measures performance of sending notification.

0 comments on commit 16232cc

Please sign in to comment.