Composite Metrics
Home > Select Project >
Alert > Event Configuration > Composite metrics tab
You can create events and send alert notifications using complex rules.
Default Options
- Search: Search for specific events by selecting an event name or an event recipient tag
- JSON Download/Upload: Edit event rules directly in the JSON editor, or download them as a file, modify them, and upload them again
- Alert Message Settings: Select detailed fields for alert messages and edit the content for each field
- + Add Event: Add a new composite metrics event
Permissions
To configure Composite metrics events, you must have Alert Settings permission. You can grant this permission by clicking the icon for the member in Home > Select Project > Management > Integrated Member Management.
The composite metrics event list is sorted by event name, and you can move to the next page with the paging buttons below the list. You can also choose how many events to show on one page.
| Item | Description |
|---|---|
| No. | Sequence number of the event |
| Enabled | Event enablement status - Enabled: Event is triggered when conditions are met - Disabled: Event does not run and conditions are not evaluated |
| Edit | Opens the Edit Event window to edit or delete the event settings |
| Event Name | User-defined event name - Up to 255 bytes |
| Rule | Event trigger conditions |
| Pause | Period during which the same event is suppressed after an alert is sent |
| Resolved Notification | Whether to receive RECOVERED (normal) notifications when Critical or Warning events are resolved - Use: Sends a RECOVERED notification when the state changes from in-progress to normal, and allows you to distinguish in-progress and resolved states in event history - Do not use: Triggers a one-time event each time the threshold is exceeded |
| Event Recipients | Users or groups that receive notifications for the event - If no tag is specified, everyone receives the notification |
Without the Alert Settings permission, the Enabled switch, the Edit button, and the Add Event button are unavailable.
Event Configuration
Composite metrics events define event conditions based on MXQL, the metric data query language. The Create from Chart feature provides a combo box to support MXQL auto-completion.
Add Event
-
Click the Composite metrics tab from
Alert > Event Configuration.
-
Click the Add Event button at the top right of the screen.
-
Select an item to start from in the template list on the left of the event creation screen.
-
New: Creates an event from scratch without a template.
-
Common: Composite metrics event templates predefined by WhaTap.
-
OpenMetrics service groups: Groups the OpenMetrics templates provided by WhaTap by service. An OpenMetrics mark appears next to the group name. These are available in every project, regardless of the project platform. CloudWatch, Azure, and NCP templates are also displayed by service in this group.
OpenMetrics, CloudWatch, Azure, and NCP templates distinguish event occurrence and resolution by monitoring target, because the template query uses
label_replaceto set the label that identifies the target as_pk_. When multiple labels are set, the combination of their values identifies a single target. When multiple targets meet the condition at the same time, a notification is sent for each target, and the Silent period is also applied per target.-
OpenMetrics: Identifies targets by the combination of
jobandinstancevalues. For example, the Nginx template usesjobandinstance. Depending on the template, a label such as backend or namespace is added to distinguish targets, and templates that aggregate by label use the aggregation key label, such as topic or GPU UUID. -
CloudWatch: Identifies targets by the resource ID label. For example, the EC2 template uses
instance_id. -
Azure: Identifies targets by the combination of
resource_nameandresource_group, because resources with the same name can exist in different resource groups. -
NCP: Identifies targets by the combination of
regioncodeandinstanceno.
Templates that aggregate into a single time series without labels produce only one result, so they do not set
_pk_.NoteWhen you create an event from a template, the template query is copied into the event. Events created from a template before 3.6.0 keep their original query. To distinguish targets, select the template and create the event again.
-
-
All groups are collapsed at first. Click a group name to expand it, or enter a template name or group name in the search field above the list.
-
Each template item shows the template name, event level, and description.
-
-
In the settings area on the right, first query the event data, then configure the event conditions. If you selected a template, its query and conditions are already filled in.
Query Event Data
Query event data to build charts. In the Event Configuration screen, select either the Widget or Text option under Query event data on the right to configure events.
- Widget
- Text
Using the options for configuring a time series chart, you can automatically complete the MXQL used for event configuration.
-
Select the date range for querying data.
-
Select the Category (target) for querying data.
-
Click + Add Filter under Filter to create event conditions.
a. In the filter window, select an expression, tag, and filter value.
b. Click + Add to add additional conditions.
c. To delete a condition, click the - button next to it. -
Under Grouping, select the grouped metric data. Multiple selections are supported.
-
Under Time Unit, set the time interval for grouped data by selecting
seconds,minutes, orhours. -
Under Field, select the fields to be used for event trigger conditions. Multiple selections are supported.
MXQL entered in text mode is not compatible with widget mode.
An editor appears where you can directly modify MXQL.
- Edit MXQL directly and click the Query button.
- After selecting a date, you can view the results as a chart or graph.
Notification
Enter the basic information for alert notification settings.
-
Enable Event: When the toggle is enabled, the event becomes active.
-
Level: Select the event level (Critical, Warning, Info).
- Notify on Event Recovery: When the toggle is enabled, a notification is sent when the event is resolved and enters the normal (RECOVERED) state.
-
Title: Enter a title for the event rule.
-
Message: Enter the content of the alert message delivered when the event is triggered. You can use variables in the message to include actual values at the time the event occurs.

Variable Usage Rules
- Variable format:
${metricName} - Only metrics within the same category as the configured category can be used as variables.
- You can combine multiple variables to compose a detailed message.
- The list of available variables can be checked in Metric Query.
Event Trigger Conditions
-
Data Query Range: Select the real-time data query window.
- Available ranges:
30 seconds,1 minute,2 minutes,5 minutes,10 minutes,30 minutes,1 hour,2 hours,3 hours
- Available ranges:
-
Condition: Enter the event trigger condition. Only fields included in the event data query can be used.
Additional Information
-
Interval: The alert condition is evaluated at the selected interval (
1 minute,5 minutes,10 minutes,30 minutes,1 hour,12 hours). -
Silence: After an event is triggered, the same event is suppressed for the selected duration (
unset,1 minute,5 minutes,10 minutes,30 minutes,1 hour,12 hours). -
Event Active Time: Configure tags to control when the event runs, such as working hours, non-working hours, or maintenance windows. If no tag is set, the event runs continuously for 24 hours while it is enabled.
-
Click + Add.
-
Under Event Active Time, click + Create New Tag.
-
In Create Event Active Time Tag, select a Tag Name, Days, Time, and Color, then click the [ Apply ] button.
-
Created tags appear in the tag list and can be applied by selecting the checkbox.
-
To edit or delete a tag, click the
icon and modify or remove it in Edit Event Active Time Tag.
CautionWhen a tag is deleted, it is removed from all users to whom it is applied. However, tags that are currently in use by event rules cannot be deleted.
-
-
Event Recipient Tags: When recipient tags are configured, notifications are sent to project members who have those tags. If no recipient tag is set, notifications are sent to all users in the project.
-
Click + Add Tag or the + icon.
-
Click + Create New Tag at the bottom of the Event Recipient Tags window.
-
In the Create Tag window, enter a tag name, select a color, and click the [ Create Tag ] button.
-
To edit or delete a created tag, click the
icon in the tag list.
-
Select the desired tag from the Tag List in the Event Recipient Tags window to apply it.
TipWhen configuring events, selecting event recipient tags allows notifications to be sent to project members and third-party plugins associated with those tags. You can assign tags to project members and third-party plugins separately via Alert > Notifications.
-
Test Event Rules
You can test the configured conditions against historical data to estimate how many events would have been triggered.
-
Select the date for testing the event rules and click the [ Confirm ] button.
-
Click the [ Run ] button to check the number of triggered events.
Edit/Delete Event
-
Go to the Alert > Event Configuration > Composite metrics tab.
-
In the composite metrics list, click the button in the Edit column of the event you want to edit or delete.
-
In the Edit Event window that opens on the right, update the options and click the Save button.
-
To delete the event, click the Delete button in the Edit Event window.
-
To close the window without saving your changes, click the Cancel button.
-
Activate or deactivate multiple events at once
You can select multiple events in the event list and activate or deactivate them at once. If you have permission to edit events, a checkbox appears in each row of the list.
-
Go to Alert > Event Configuration and select the Composite metrics tab.
-
Select the checkboxes of the events you want to manage.
-
Selecting the checkbox in the header selects all events on the current page.
-
Selected events stay selected when you search, change pages, or sort. During a search, the number of selected events that are not in the current search results is also displayed.
-
-
When the N items selected toolbar appears above the list, click the button for the action you want.
-
Enable: Activates all selected events. You cannot click it if all selected events are already active.
-
Deactivated: Deactivates all selected events. You cannot click it if all selected events are already inactive.
-
-
To clear all selections, click the Deselect button. Selections are cleared automatically when the action completes.
-
Bulk activation and deactivation change only the activation status of events. Rules and other settings are not changed.
-
If the change is applied to only some collection servers, the result and a retry prompt are displayed instead of a success message. Your selection is kept, so run the same action again.
-
Composite metrics events do not support bulk copy or bulk delete. Copy or delete events one at a time.
Event Sharing
You can save metric event settings as a JSON file to share configurations with other users or import settings created by others.
- JSON file name: event-rules-
YYYYMMDD.json
Export
- Click the [ JSON
] button at the top right of the screen.
- When the JSON editor opens, click the [
Export ] button.
- If you use the export function after searching for events, only the searched list will be downloaded as a JSON file.
- After the JSON file is downloaded, share it with other users.
Import
- Click the [
] button at the top right of the screen.
- Select the JSON file downloaded using the Export function.
- When the JSON editor opens, choose either [ Add to List ] or [ Overwrite ].
It is recommended to use this feature between projects of the same product type. You can import event settings from projects of different products, but they may not function correctly.
Edit in JSON Format
-
Click the [ JSON
] button at the top right of the screen.
-
When the editor opens, modify the content according to the JSON format.
-
After completing the edits, click the [ Save ] button at the bottom of the screen.
If the modified content does not conform to the JSON format, an error message will be displayed at the bottom of the screen and the content cannot be saved. The error message may vary depending on the type of formatting issue.

Alert Message Settings
You can select detailed fields for the messages to be received and edit the content for each field.
Appendix
MXQL Syntax Guide
Composite metrics operates based on MXQL queries. For detailed syntax, refer to the MXQL Syntax Guide.