Skip to content

monitoring: grafana email notifier support

Administrator requested to merge distribution/grafana-smtp into master

Created by: bobheadxi

Closes https://github.com/sourcegraph/sourcegraph/issues/11454

This PR adds:

  • email support for notifiers
  • automatic sync for SMTP settings from Sourcegraph site configuration

Implementation details:

  • map relevant parts of all site config to a GrafanaChange
  • changes now only have access to the new configuration (ie their goal is purely to apply incoming changes - this ties into my first question further down)
  • add new wrapper around the grafana client, GrafanaController, to also allow stop/restart capabilities

Questions:

Merge request reports

Loading