Revision 6f2c0d467f31951eddf0d62df499cf0de5775205 authored by Daniel Underwood on 21 June 2022, 05:34:49 UTC, committed by GitHub on 21 June 2022, 05:34:49 UTC
This change updates the UI to document the correct Group Mention format for Discord Contact Points.

The Discord API documentation (https://discord.com/developers/docs/reference#message-formatting) uses `<@&ID>` for Group Mentions, not the bare `@` shown in the alerting UI. Testing on 8.5 shows that bare `@` isn't working there.
1 parent f4f31b4
Raw File
validate-devenv-dashboards.sh
#!/bin/bash

# Temporary - remove this script once the dashboard schema are mature

# Remove the appropriate ellipses from the schema to check for unspecified
# fields in the artifacts (validating "open")

# Run from root of grafana repo
CMD=${CLI:-bin/darwin-amd64/grafana-cli}
FILES=$(grep -rl '"schemaVersion": 30' devenv)
for DASH in ${FILES}; do echo "${DASH}"; ${CMD} cue validate-resource --dashboard "${DASH}"; done
back to top