VictoriaMetrics/docs/victoriametrics-cloud/setup-notifications.md

72 lines
2.3 KiB
Markdown
Raw Normal View History

---
sort: 7
weight: 7
title: Notifications in VictoriaMetrics Cloud
menu:
docs:
parent: "cloud"
weight: 7
aliases:
- /victoriametrics-cloud/setup-notifications/index.html
- /managed-victoriametrics/setup-notifications/index.html
---
2023-04-24 14:52:57 +00:00
The guide covers how to enable email and Slack notifications.
2023-04-24 14:52:57 +00:00
Table of content:
2023-04-25 09:42:20 +00:00
1. [Setup Slack notifications](#setup-slack-notifications)
1. [Setup emails notifications](#setup-emails-notifications)
1. [Send test notification](#send-test-notification)
2023-04-25 09:42:20 +00:00
When you enter the notification section, you will be able to fill in the channels in which you
want to receive notifications
![Notifications view](notifications_view.webp)
2023-04-25 09:42:20 +00:00
## Setup Slack notifications
2023-04-25 09:42:20 +00:00
1. Setup Slack webhook
How to do this is indicated on the following link
<a href="https://api.slack.com/messaging/webhooks" target="_blank">https://api.slack.com/messaging/webhooks</a>
![Notifications view](notifications_view.webp)
1. Specify Slack channels
2023-04-25 09:42:20 +00:00
Enter one or more channels into input and press enter or choose it after each input.
![Slack setup](notifications_setup_slack.webp)
![Slack enter channel](notifications_setup_slack_enter_channel.webp)
2023-04-25 09:42:20 +00:00
## Setup emails notifications
2023-04-25 09:42:20 +00:00
You can specify one or multiple emails for notifications in the input field. By default,
email notifications are enabled for the account owner
![Setup emails](notifications_setup_emails.webp)
![Emails input](notifications_setup_emails_input.webp)
## Send test notification
2023-04-25 09:42:20 +00:00
To test your notification settings, press Save and Test.
2023-04-25 09:42:20 +00:00
If only Slack channels and webhook are specified correctly, you will receive the notification in the Slack channels.
2023-04-26 09:06:52 +00:00
If only the emails are specified, you will receive notifications to those emails.
2023-04-25 09:42:20 +00:00
When both notifications are specified, all notifications will be sent to Slack channels and emails.
![Save and test](notifications_save_and_test.webp)
If the Save button is pressed, then entered channels will be only saved, and you get a success message.
If the Save and Test button is pressed, then all entered information will be saved,
and test notifications will be sent to the entered channels
![Save success](notifications_save_success.webp)
2023-04-25 09:42:20 +00:00
Examples of the test notification messages:
![Slack test](notifications_slack_test.webp)
![Email test](notifications_email_test.webp)