Skip to content

Conversation

Dasomeone
Copy link
Contributor

@Dasomeone Dasomeone commented Aug 15, 2025

What is this PR and why is it needed?

This PR introduces guidelines for alerts & alert groups, in order for mixins to be compatible with Grafana Cloud out of the box, based on official rules limits.

Specifically the following limits have been introduced:

  • Alerts: Alert name must not exceed 40 characters
  • Alert Groups: Group name must not exceed 40 characters
  • Alert Groups: Groups must not contain more than 20 alerts

Appropriate tests have been added to check for these cases.

Additionally, as a drive-by, the .gitignore has been updated with exclusions for JetBrains IDEA temp files.

Tests the following:
- Alert group name does not exceed 40 characters
- Alert group array of alerts does not exceed 20 alerts
@Dasomeone Dasomeone changed the title Feat: Add guidelines for alert group name & alert array size Feat: Add guidelines for alert/alert group name & array size Aug 15, 2025
Copy link
Contributor

@rgeyer rgeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚀

@Dasomeone Dasomeone merged commit 3a8bcbe into monitoring-mixins:main Aug 19, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants