Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

integration-docs: Update Grafana doc to use parallel tabs.

Niloth P471bbb1a26f2
diff --git a/zerver/lib/markdown/tabbed_sections.py b/zerver/lib/markdown/tabbed_sections.py
index ad6aa5b8c0b..6a674536eed 100644
--- a/zerver/lib/markdown/tabbed_sections.py
+++ b/zerver/lib/markdown/tabbed_sections.py
@@ -128,6 +128,8 @@ TAB_SECTION_LABELS = {
"for-yourself": "For yourself",
"new-organizations": "New organizations",
"imported-organizations": "Imported organizations",
+ "grafana-latest": "Grafana 8.3+",
+ "grafana-older-version": "Grafana 8.2 and below",
}
diff --git a/zerver/webhooks/grafana/doc.md b/zerver/webhooks/grafana/doc.md
index 301c7e22827..a9596c1f976 100644
--- a/zerver/webhooks/grafana/doc.md
+++ b/zerver/webhooks/grafana/doc.md
@@ -12,10 +12,12 @@ See your Grafana dashboard alerts in Zulip!
{end_tabs}
-### Instructions for Grafana 8.3 and above
+### Instructions for Grafana
{start_tabs}
+{tab|grafana-latest}
+
1. In Grafana, go to **Alerting**. Click on **Contact points**, and then
**Add contact point**.
@@ -37,11 +39,7 @@ See your Grafana dashboard alerts in Zulip!
evaluation behavior**, and other conditions for your alerts. When
you're done, click **Save rule**.
-{end_tabs}
-
-### Instructions for Grafana 8.2 and below
-
-{start_tabs}
+{tab|grafana-older-version}
1. In Grafana, go to **Alerting**. Click on **Notification channels**.