moira-alert / moira

Realtime Alerting for Graphite and Prometheus
MIT License
292 stars 67 forks source link

Trigger Name Must be Unique #10

Closed AlexAkulov closed 7 years ago

AlexAkulov commented 7 years ago

Trigger Name must be unique. It is necessary for a better automatization.

borovskyav commented 7 years ago

For trigger uniquines we are using a triggerID, so it is quite enough for trigger identity. Now trigger name can be same in other projects, and user can find trigger they need by tag. It also applies to automatization to create new triggers. For example you can create new trigger while deploy new elastic cluster for team "Team1" with tag "Team1", and then create trigger with same name for team "Team2" with tag "Team2". So with this pattern you can unify all trigger in company between all teams.