Groups
Groups allow you to categorize events within a zone, enabling more organized event tracking and customized notification settings.
What are Groups?
Groups are subsets of events within a zone that share a common purpose or category. For example, you might create groups for:
- Different services in your infrastructure (database, API, web server)
- Different types of events (errors, metrics, deployments)
- Different environments (production, staging, development)
Accessing Groups
You can access group management through:
- Zone Settings > Groups
- Using the group filters in the zone event view
Creating a Group
To create a new group:
- Navigate to Zone Settings > Groups
- Click “Create new group”
- Enter a name for your group (e.g., “Database”)
- The system will automatically generate an alias based on your group name, or you can customize it
- Click “Create” to finalize
Group Settings
Each group can have its own settings that override zone-level defaults:
Notification Settings
Control how and when push notifications are sent for events in this group:
- Push Notifications Enabled - When turned on, all events in this group trigger notifications
- Push Notifications for Errors Only - When turned on, only events with error codes in this group trigger notifications
Notification Icon
Each group can have its own unique icon and color:
- Select an icon from the available options
- Choose a color for the icon
This icon will be displayed in the events list and in push notifications, making it easy to visually identify which group an event belongs to.
Using Groups in API Calls
When sending events to Notifery via the API, you can specify a group by including the group
parameter with your group’s alias:
fetch('https://api.notifery.com/event', { method: 'POST', headers: { 'Content-Type': 'application/json', 'x-api-key': 'YOUR_API_KEY' }, body: JSON.stringify({ title: 'Database Backup Complete', message: 'Successfully backed up 1.2GB of data', zone: 'production', group: 'database' // Specify the group alias here })})
Group Limitations
Your plan determines the maximum number of groups you can create:
- Navigate to Zone Settings > Plan to view your group limit
- The Groups page will display how many groups you have used out of your maximum allowance
Filtering by Groups
In the zone’s event view, you can filter events by group:
- Click on a group name in the filter bar
- The event list will update to show only events from that group
- You can select multiple groups to view events from any of those groups
- Badge counts on groups show the number of unread events in each group
This filtering capability makes it easy to focus on events from specific areas of your application or system.