Add GitLab dashboard URL to slackline
Slackline is the app that sends Prometheus Alert Manager alerts to Slack.
It is the most common way for our SRE's to navigate into the dashboard since it is printing the Grafana dashboard URL.
We would like to add the GitLab dashboard URL so whenever slackline sends an alerts the team will have the option to navigate into GitLab dashboard in addition to Grafana.
To do so we would need to do a change both on the the ServiceCatalog and add an entry to GitLab chart and Slackline, we should make sure the GitLab URL will be first
Once the MR will be completed ping @aamarsanaa
Definition of Done
For the scope of this issue, we would like to define the integration of a single dashboard to one of our Slack production channels.
DoD Info
Dashboard link:
Dashboard name:
- "Key Services - Web"
Service Catalog extension:
- Dashboard url in
web
(observability.monitors.gitlab_dashboard)
New button in Slackline - alert thread attachment
- Button name:
GitLab Dashboard
which points to the Dashboard link above
Example
In the #alerts-general
slack channel we can see the threads opened in every alert:
A new "Gitlab Dashboard" item should become available.