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.

  1. In the Aiven client, connect to your Managed Service for TimescaleDB service.

  2. Switch to the project that contains the Grafana service you want to integrate:

    avn project switch <PROJECT>
  3. 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
  4. Get the details of the service that you want to integrate:

    avn service get <SERVICE_NAME>
  5. Configure the Grafana service using the SMTP values:

    avn service update --project <PROJECT> <SERVICE_NAME>\
    -c \
    -c smtp_server.port=465 \
    -c smtp_server.username=emailsenderuser \
    -c smtp_server.password=emailsenderpass \
    -c smtp_server.from_address="[email protected]"
  6. (OPTIONAL) Review all available custom options, and configure:

    avn service types -v

You can now send emails for your Grafana service on MST.

Found an issue on this page?

Report an issue!


Related Content