Skip to main content
Version: 32.0.0

Grafana Contact Points

Grafana Contact Points

Grafana is part of the a9s Prometheus installations and is used by the application developers to visualize metrics from various sources and also to receive alerts based on these alerts. With Grafana 8 the Unified Alerting was introduced which is the default alerting system also in the a9s Prometheus Data Service.

An essential part of this alerting system is the configuration for the Contact points. Grafana supports several notifiers by default. These notifiers can be configured by the user of the application via the Grafana dashboard. Only the SMTP settings need to be configured via the BOSH release, which is the base for each service instance.

Manual configuration on a per-instance basis is not recommended because the settings are overwritten each time the service instance is updated via the a9s Service Broker. A more reliable approach is to create an OPS file that is applied when each instance is created or updated. This way, a global SMTP configuration is available for sending emails in all service instances.

The ops file below can be used to configure SMTP and must be applied when the a9s Prometheus service is deployed. After that, the deployment-updater errand must be run to apply the settings to existing service instances.

- type: replace
path: /instance_groups/name=templates-uploader/jobs/name=template-uploader/properties/template-uploader/template-custom-ops?
value: |
- type: replace
path: /instance_groups/name=grafana/jobs/name=grafana/properties/grafana/smtp?
value:
enabled: true
host:
user:
password:
ssl_cert:
ssl_key:
skip_verify:
from_address:
from_name:
ehlo_identity: # EHLO identity in SMTP dialog (defaults to instance_name)