Send Grafana emails
Use the Aiven client to configure the Simple Mail Transfer Protocol (SMTP) server settings and send emails from Managed Service for TimescaleDB for Grafana, including invite emails, reset password emails, and alert messages.
Before you begin
- Install Aiven Client.
- Sign in to your Managed Service for TimescaleDB dashboard.
- Create a service for Grafana in MST
- Make a note of these values in the SMTP server:
IP or hostname
,SMTP server port
,Username
,Password
,Sender email address
,Sender name
(optional).
Configuring the SMTP server for Grafana service
In the Aiven client, connect to your Managed Service for TimescaleDB service.
Switch to the project that contains the Grafana service you want to integrate:
avn project switch <PROJECT>
List the services in the project, and make a note of the Grafana service that you want to configure, listed under
SERVICE_NAME
column in the output.avn service list
Get the details of the service that you want to integrate:
avn service get <SERVICE_NAME>
Configure the Grafana service using the SMTP values:
avn service update --project <PROJECT> <SERVICE_NAME>\
-c smtp_server.host=smtp.example.com \
-c smtp_server.port=465 \
-c smtp_server.username=emailsenderuser \
-c smtp_server.password=emailsenderpass \
-c smtp_server.from_address="[email protected]"
(OPTIONAL) Review all available custom options, and configure:
avn service types -v
You can now send emails for your Grafana service on MST.