Cloud Insight type trigger

Prev Next

Available in VPC

You can add Cloud Insight type triggers on the NAVER Cloud Platform console's Cloud Functions > Action > Action details. Cloud Insight is a monitoring service that integrates and manages the performance indicators of services provided by NAVER Cloud Platform. When a failure occurs, it promptly alerts the person in charge and provides relevant information.

Note

Additional fees apply when you subscribe to Cloud Insight. For information on Cloud Insight and its pricing plans, see Services > Management & Governance > Cloud Insight in NAVER Cloud Platform portal.

Add trigger

To add a Cloud Insight type trigger, click and select Cloud Insight in the trigger type, then configure the trigger's basic information and Cloud Insight connection information.

Connection information setup

You can adjust the connection setup for Cloud Insight type triggers in the Cloud Insight connection information menu of the console.

cloudfunctions-cloudinsight_v2_01_ko

  • Add a Cloud Insight Event Rule to Cloud Insight connection information to complete the setup. You can link multiple Event Rules, and once connected, events generated in Cloud Insight execute the connected triggers.
  • Clicking [Create event rule] redirects you to Cloud Insight console, where you can create a new Event Rule. For more information on how to use Event Rules, see Cloud Insight user guide.
Note

If you select Cloud Functions as a target in the action setup step of Event Rule creation in the Cloud Insight menu on the NAVER Cloud Platform console, you can either select an existing trigger or create a new one for connection.

Events forwarded to trigger

When an event occurs due to an Event Rule created in Cloud Insight, the event information is forwarded to the Cloud Insight type trigger. The event information can then be used as parameters within the action code connected to the Cloud Insight type trigger for various applications. The examples of the events forwarded to Cloud Insight type trigger are as follows:

{
    "alarmEndTime": 1636449791058,          // Notification end time (ms). Only exists in end notification
    "alarmStartTime": 1636449311090,        // Notification start time (ms)
    "calc": "AVG",                          // Aggregation information
    "condition": "mem_usert >= 80.0",       // Event Rule condition
    "criteria": 80.0,                       // Event Rule condition value
    "currentValue": 87.743407,              // Current metric value
    "dataTime": "1636449311090",            // Data collection time
    "dimensions": {                         // Dimensions of the resource where the relevant event occurred
      "instanceNo": "11111111",
      "type": "svr"
    },
    "domainCode": "PUB",                    // Platform information of the resource where the event occurred
    "duration": 1,                          // Event Rule duration
    "eventCauseType": "RULE_EVENT",         // Event occurrence type. RULE_EVENT (event occurrence, end)/REMINDER_EVENT (remind)
    "eventStatus": "OPEN",                  // Event status (OPEN/REMIND/RESOLVE)
    "instanceName": "my-server",            // Event instance name
    "level": "WARNING",                     // Event level (INFO/WARNING/CRITICAL)
    "metric": "mem_usert",                  // Event Rule's target metric
    "operator": "GE",                       // Event Rule's operator
    "prodKey": "460438474722512000",        // cw_key of the resource where the event occurred
    "prodName": "Server (VPC)",              // Product name of the resource where the event occurred
    "regionCode": "KR",                     // Region information of the resource where the event occurred
    "ruleId": "655440101488332800",         // Event Rule ID
    "ruleName": "my-event-rule",            // Event Rule name
    "unit": "%",                            // Event Rule's target metric unit
    "value": 87.743407                      // Metric value (type: Float | String)
}