https://hooks.slack.com/services/<XXX>/<YYY>/<ZZZ>
.mpg-estimator
API as an example.$api_name
variable with the name of the API you want to create the alert for. In our case, it's mpg-estimator
. Also, click on the eye icon to disable the query from being shown on the graph - otherwise, you'll see duplicates.<SMTP-HOST>
varies from provider to provider (e.g. Gmail's is smtp.gmail.com:587
).kubectl edit statefulset grafana
(this will open a code editor). Inside the container named grafana
(in the containers
section), add an envFrom
section that will mount the SMTP secret. Here is an example of what it looks like after the addition:kubectl logs -f grafana-0
.