We use a single Sensu Go instance for multiple teams.
Currently, one team receives all alerts - as a single handler is set up.
Now, I want to create an additional handler for the other team, and make sure they receive alerts only for events belonging to their agents - by applying a filter to the handler.
On Event filters reference - Sensu Docs, I saw the following example expression:
"event.check.team == 'ops'"
However, the check attribute team
is nowhere to be found. Not on Checks reference - Sensu Docs nor on Events reference - Sensu Docs.
Question:
- Are teams a high-level concept?
- If so, why aren’t they documented (properly)?
- If not, what is the recommended approach for my use case? I could use agent labels to designate teams (example: Event filters reference - Sensu Docs).