Cloud Insight type trigger
    • PDF

    Cloud Insight type trigger

    • PDF

    Article Summary

    Available in Classic

    You can create Cloud Insight type triggers in Cloud Functions > Trigger on the NAVER Cloud Platform console. Cloud Insight is a monitoring service that integrates and manages performance metrics of the NAVER Cloud Platform services. In case of any failures, the service delivers the relevant information to the responsible personnel.

    Note

    Additional fees apply when you request a subscription to Cloud Insight. For an introduction on Cloud Insight and details about its pricing plans, see Services > Management & Governance > Cloud Insight in NAVER Cloud Platform portal.

    For more information on how to run and monitor a trigger, see Running action or trigger and Trigger.

    Create triggers

    To create a Cloud Insight type trigger, click Cloud Insight in the trigger type and 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.

    compute-15-3-301_ko.png

    • Once you add a Cloud Insight event rule to the connection information of Cloud Insight, the setup is complete. You can link multiple event rules, and once connected, events generated in Cloud Insight execute the connected triggers.
    • Clicking the [Create event rule] button redirects you to the Cloud Insight console where you can create a new event rule. For more information on how to use event rules, see theCloud 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 delivered to triggers

    When an event occurs due to an event rule created in Cloud Insight, the event information is delivered to the Cloud Insight type trigger. This event can be used as a parameter in the action code linked to the Cloud Insight type trigger for various applications. The following describes an example of an event delivered to the Cloud Insight type trigger.

    {
        "alarmEndTime": 1636449791058,          // Alarm end time (ms). Only exists in end alarm
        "alarmStartTime": 1636449311090,        // Alarm 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)
    }
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.