mirror of
https://github.com/bsedin/matrix-webhook.git
synced 2026-04-09 11:25:40 +00:00
grafana formatter: smaller titles
This commit is contained in:
@@ -5,7 +5,7 @@ def grafana(data, headers):
|
||||
"""Pretty-print a grafana notification."""
|
||||
text = ""
|
||||
if "title" in data:
|
||||
text = "### " + data["title"] + "\n"
|
||||
text = "#### " + data["title"] + "\n"
|
||||
if "message" in data:
|
||||
text = text + data["message"] + "\n\n"
|
||||
if "evalMatches" in data:
|
||||
|
||||
Reference in New Issue
Block a user