Using Pinpoint Cloud
    • PDF

    Using Pinpoint Cloud

    • PDF

    Article Summary

    Available in Classic and VPC

    How to use the Pinpoint Cloud web console and set up application linkage using the Pinpoint agent are explained. You can monitor application performance on the Pinpoint Cloud web console. Pinpoint Cloud web console has the identical UI as the open source version of Pinpoint, so existing Pinpoint users can easily be familiarized with it.

    Install and manage agent

    To use Pinpoint Cloud, the Pinpoint agent should be installed in the application to be monitored.
    Pinpoint agent is executed as a Java agent connected to the application to be monitored (e.g., Tomcat). To connect the Pinpoint agent to the application to be monitored, $AGENT_PATH/pinpoint-bootstrap-$VERSION.jar must be delivered to the -javaagent JVM argument when the application is executed.

    Install agent

    To install the Pinpoint agent, you should set up environmental variables and download the link to a PC. The following describes how to install it.

    1. From the NAVER Cloud Platform console, click the Services > Management & Governance > Pinpoint Cloud menus, in that order.
    2. Click the [Go] button for the repository you want among the list.
    3. Log in to the web console, and click i-pinpointcloud-setting, and then click the Installation menu.
    4. Enter the environment variable for the agent.
      • Application name: Enter the ID to identify the application group, and then click the [Check] button.
      • Agent ID: Enter the unique ID to identify the application, and then click the [Check] button.
    5. Once the JVM argument is configured with the information entered, click i-pinpointcloud_copy to copy the code.
      • The code needs to be added to the execution option of the application later.
    6. Click the link under Download link to download the compressed file.
    7. Decompress the downloaded agent file, and complete settings for the monitoring target application's execution options and license key.
      • Monitoring target application's execution option settings: <Example> For Tomcat, edit $CATALINA_HOME/bin/catalina.sh which is the starting script of Tomcat, and save it.
      CATALINA_OPTS="$CATALINA_OPTS -javaagent:$AGENT_PATH/pinpoint-bootstrap-$VERSION.jar"
      CATALINA_OPTS="$CATALINA_OPTS -Dpinpoint.agentId=$AGENT_ID"
      CATALINA_OPTS="$CATALINA_OPTS -Dpinpoint.applicationName=$APPLICATION_NAME"
      
      • License key settings: Click i-pinpointcloud_copy, which appears when you hover the mouse over the Agent license key area, to copy the license key, and paste the value in the $AGENT_PATH/pinpoint.license file and save.
    8. Run the application.
      • The performance information will be collected through the Pinpoint agent installed.

    Adjust Pinpoint log level

    Edit the log4j.xml file to adjust each Pinpoint component's log level.

    (...omitted)
    <logger name="com.navercorp.pinpoint" additivity="false">
        <level value="WARN"/>
        <appender-ref ref="console"/>
    </logger>
    
    <logger name="com.navercorp.pinpoint.web.filter" additivity="false">
        <level value="WARN"/>
        <appender-ref ref="console"/>
    </logger>
    
    <logger name="com.navercorp.pinpoint.web.controller" additivity="false">
        <level value="WARN"/>
        <appender-ref ref="console"/>
    </logger>
    
    <logger name="com.navercorp.pinpoint.web.applicationmap" additivity="false">
        <level value="WARN"/>
        <appender-ref ref="console"/>
    </logger>
    
    <logger name="com.navercorp.pinpoint.web.calltree.server" additivity="false">
        <level value="WARN"/>
        <appender-ref ref="console"/>
    </logger>
    
    <logger name="com.navercorp.pinpoint.web.mapper" additivity="false">
        <level value="WARN"/>
        <appender-ref ref="console"/>
    </logger>
    
    <logger name="com.navercorp.pinpoint.web.service" additivity="false">
        <level value="WARN"/>
        <appender-ref ref="console"/>
    </logger>
    (...omitted)
    

    Main features

    Main features of the Pinpoint Cloud web console are briefly explained.

    Note

    The Pinpoint Cloud web console has the same UI as the open source version of Pinpoint. Refer to the Pinpoint official website for detailed instructions for use.

    Server Map

    You can see the whole configuration of the distributed system at a glance. You can also click each node to check the details, such as a component's current status and the number of transactions.

    pinpointcloud-use-webconsole_servermap

    FieldDescription
    ① Server topologyApplication server's architecture
  • The number of transactions to each node from user request is displayed.
  • Details are displayed in chart when a node is selected.
  • ② Active RequestIt displays the number of active threads in the application being monitored in real time.
    ③ ChartDetails of the selected node are displayed in scatter plot and bar charts.

    Call Stack

    It allows you to quickly identify bottleneck or failure points and check errors and exceptions in the application by checking the system transactions at the code level.

    Select a transaction recorded on the scatter plot chart of the Server map to see the Call stack page as follows.

    pinpointcloud-use-webconsole_callstack

    FieldDescription
    ① Transaction listList of selected transactions
  • Details are displayed in the Call tree field when an item is selected.
  • ② Call TreeList of methods that have been executed during the transaction

    Application Inspector

    The application's resource data (stat: CPU, memory, TPS, datasource connection count) can be viewed.

    pinpointcloud-use-webconsole_inspector

    • You can drag a certain area from the chart to see the selected chart zoomed in.
    • Click the [Reset zoom] button while zoomed in to go back to the original view.

    Settings menu

    You can click the i-pinpointcloud_setting from the Pinpoint Cloud web console to use the settings menu. The following settings menus are available.

    Note

    This guide shows the menus displayed for an admin account. Some menus may not be displayed depending on your account when you actually access the page.

    MenuDescription
    AdministrationManagement of web console users by repository and agent data
  • Users: Add, edit, or delete user account. (Refer to Manage users.)
  • Role: Set up roles and permissions to grant to users. (Refer to Manage roles.)
  • Agent statistic: View agent statistics information.
  • Agent management: View or delete applications registered on the agent.
  • SettingUse settings for the web console by repository
  • General: Settings for Server map display category, time zone, time display format, and language
  • Favorite list: Add or delete application as favorites.
  • User profile: Edit account information.
  • User GroupAdd and manage user groups. (Refer to Manage user groups.)
    Authentication & AlarmSet up application permissions and notifications by user group. (Refer to Application permission and notification settings.)
    InstallationSet up and download agent installation environment variables. (Refer to Install agent.)

    Manage users

    You can manage users of the repository web consoles created.

    Add user

    The following describes how to add a new user.

    1. Click the i-pinpointcloud_setting > Users menus on the Pinpoint Cloud web console, in this order.
    2. Click i-pinpointcloud_add at the top of the user list.
    3. Enter the user information, and then click the [Save] button.
      • The user role can be set in the Role menu. To create a new role, refer to Create role.
    Note

    To edit information of an added user, click the user from the list, enter the new information in the input field, and then click the [Save] button.

    Delete user

    The following describes how to delete a user.

    1. Click the i-pinpointcloud_setting > Users menus on the Pinpoint Cloud web console, in this order.
    2. Click i-pinpointcloud_delete of the user you want to delete from the user list.
    3. Click the [Delete] button.

    Manage roles

    You can manage roles and permissions of the repository web console users.

    Create role

    The following shows how to create a new role.

    1. Click the i-pinpointcloud_setting > Role menus on the Pinpoint Cloud web console, in this order.
    2. Click i-pinpointcloud_add at the top of the role list.
    3. Enter the role's name, select permissions to grant to the role, and then click the [Save] button.
    Note

    To edit information of the role added, click the role from the list, select permissions, and click the [Save] button.

    Delete role

    The following describes how to delete a role.

    Note

    When you delete a role, the permissions of the users assigned to the role are deleted with it.

    1. Click the i-pinpointcloud_setting > Role menus on the Pinpoint Cloud web console, in this order.
    2. Click i-pinpointcloud_delete of the role you want to delete from the role list.
    3. Click the [Delete] button.

    Manage user groups

    You can organize added users as a group, specify applications to use it, and set them to be notification recipients at once.

    View user group

    You can view the list of user groups and details set up by group. The following shows how to view user groups.

    1. Click the i-pinpointcloud_setting > User group menus on the Pinpoint Cloud web console, in this order.
    2. View the group information from the User group page.
      pinpointcloud-use-webconsole_list_ko
      • User group: the list of user groups created
        • Click an item on the list to see the list of members in the group under Group member.
        • Click i-pinpointcloud_add to create a new user group.
        • Click i-pinpointcloud_delete to delete a user group.
      • Group member: the list of members in the selected group
        • Click i-pinpointcloud_delete > i-pinpointcloud_yes to delete a member from the group.
      • Pinpoint user: the list of all users added on the Pinpoint Cloud web console
        • You can click to select a checkbox in front of the user's name while the group is selected to add the user as the group member.
        • Click a user's name to see their profile details.
      • Application authentication & alarm: the list of applications designated to the selected group
        • You can click i-pinpointcloud_detail of the Detail to see the application permissions.
        • You can click i-pinpointcloud_move of the More to go to the Authentication & alarm menu.

    Create user group

    The following describes how to create a new user group and add members.

    1. Click the i-pinpointcloud_setting > User group menus on the Pinpoint Cloud web console, in this order.
    2. Click i-pinpointcloud_add at the top of the User group list.
    3. Enter the name of the user group, and then click the [OK] button.
    4. Click the user group created, and click to select the checkbox of the user you want to add as the member from the Pinpoint user list.
      • The selected user will be added to the Group member list.

    Application permission and notification settings

    You can grant permissions of the application registered on the Pinpoint Cloud web console to a user group, and set up notifications to sent in case of event occurrence.

    Set permissions

    The following describes how you can set up an application's permissions and grant them to a user group.

    1. Click the i-pinpointcloud_setting > Authentication & alarm menus on the Pinpoint Cloud web console, in this order.
    2. Click the application to grant permissions from the Application list.
    3. Click i-pinpointcloud_add at the top of the Authentication list.
    4. Select the user group ID and position to grant the permissions, set up whether to disclose data, and click the [OK] button.
      • The details of the permission set up will be added to the list.
        • You can click i-pinpointcloud_view to see whether data disclosure is set up in the user group.
        • You can click i-pinpointcloud_edit to edit the position and data disclosure status.
        • Click i-pinpointcloud_delete > i-pinpointcloud_yes to delete the permission setup details.

    Notification settings

    You can configure so that a notification is sent via SMS or email when an indicator threshold is exceeded. The indicators you can set up notifications are as follows.

    ItemDescription
    SLOW COUNTAn alarm is sent if the number of requests, which gave a response late to the external server among all requests that called the application from outside, exceeds the threshold.
    SLOW RATEAn alarm is sent if the proportion (%) of requests, which gave a response late to the external server among all requests that called the application from outside, exceeds the threshold.
    ERROR COUNTAn alarm is sent if the number of requests, which triggered an error among all requests that called the application from outside, exceeds the threshold.
    ERROR RATEAn alarm is sent if the proportion (%) of requests, which triggered an error among all requests that called the application from outside, exceeds the threshold.
    TOTAL COUNTAn alarm is sent if the number of requests that called the application from outside exceeds the threshold.
    SLOW COUNT TO CALLEEAn alarm is sent if the number of requests which responded late among all requests that called an external server from within the application exceeds the threshold. The external server's domain or address (IP, port) needs to be entered in the memo. <Example> naver.com, 127.0.0.1:8080
    SLOW RATE TO CALLEEAn alarm is sent if the proportion (%) of requests which responded late among all requests that called an external server from within the application exceeds the threshold. The external server's domain or address (IP, port) needs to be entered in the memo. <Example> naver.com, 127.0.0.1:8080
    ERROR COUNT TO CALLEEAn alarm is sent if the number of requests which triggered an error among all requests that called an external server from within the application exceeds the threshold. The external server's domain or address (IP, port) needs to be entered in the memo. <Example> naver.com, 127.0.0.1:8080
    ERROR RATE TO CALLEEAn alarm is sent if the proportion (%) of requests which triggered an error among all requests that called an external server from within the application exceeds the threshold. The external server's domain or address (IP, port) needs to be entered in the memo. <Example> naver.com, 127.0.0.1:8080
    TOTAL COUNT TO CALLEEAn alarm is sent if the number of requests that called an external server from within the application exceeds the threshold. The external server's domain or address (IP, port) needs to be entered in the memo. <Example> naver.com, 127.0.0.1:8080
    HEAP USAGE RATEAn alarm is sent if the heap usage rate exceeds the threshold.
    JVM CPU USAGE RATEAn alarm is sent if the application's CPU usage rate exceeds the threshold.
    SYSTEM CPU USAGE RATEAn alarm is sent if the server's CPU usage rate exceeds the threshold.
    DATASOURCE CONNECTION USAGE RATEAn alarm is sent if the connection usage rate within the application datasource exceeds the threshold.
    DEADLOCK OCCURRENCEAn alarm is sent when a deadlock is detected in the application.
    FILE DESCRIPTOR COUNTAn alarm is sent if the number of open file descriptors exceeds the threshold.

    The following describes how to set up notifications to be sent to a user group if an event occurs.

    1. Click the i-pinpointcloud_setting > Authentication & alarm menus on the Pinpoint Cloud web console, in this order.
    2. Click i-pinpointcloud_add at the top of the Alarm list.
    3. Set up the alarm item and threshold, and select the user group ID to receive the alarm and notification format, and then click the [OK] button.
      • The details of the alarm will be added to the list.
        • You can click i-pinpointcloud_edit to edit the alarm's details.
        • Click i-pinpointcloud_delete > i-pinpointcloud_yes to delete the alarm details.

    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.