diff --git a/docs/apm/umn/ALL_META.TXT.json b/docs/apm/umn/ALL_META.TXT.json index e0ba6637f..05924f81c 100644 --- a/docs/apm/umn/ALL_META.TXT.json +++ b/docs/apm/umn/ALL_META.TXT.json @@ -1337,7 +1337,7 @@ "node_id":"apm_02_0003.xml", "product_code":"apm", "code":"77", - "des":"The network between your host and APM is normal.You can run the Telnet command to check the network.Java supports enhanced Agents.", + "des":"The network between your host and APM is normal. You can run the Telnet command to check the network.Java supports enhanced Agents.", "doc_type":"usermanual", "kw":"Connecting Agents,Monitoring Java Applications,User Guide", "search_title":"", @@ -1514,7 +1514,7 @@ "node_id":"apm_07_0153.xml", "product_code":"", "code":"86", - "des":"A maximum of three layers of sub-applications can be created.", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"", "kw":"Creating a Sub-application,CMDB Management,User Guide", "search_title":"", @@ -1571,7 +1571,7 @@ "code":"89", "des":"APM Agents periodically collect performance metric data to measure the overall health status of applications. They can collect the metric data of JVM, GC, service calls, ", "doc_type":"usermanual", - "kw":"Overview,Application Metric Monitoring,User Guide", + "kw":"Introduction,Application Metric Monitoring,User Guide", "search_title":"", "metedata":[ { @@ -1582,7 +1582,7 @@ "IsMulti":"Yes" } ], - "title":"Overview", + "title":"Introduction", "githuburl":"" }, { @@ -1733,7 +1733,7 @@ "node_id":"apm_07_0061.xml", "product_code":"", "code":"97", - "des":"This function monitors web containers, including Tomcat. This section focuses on Tomcat monitoring.Click a number in blue (such as those in the Current Threads, Busy Thre", + "des":"This function monitors web containers, including Tomcat. This section focuses on Tomcat monitoring.Click a number in pink (such as those in the Current Threads, Busy Thre", "doc_type":"", "kw":"Web Container,Application Monitoring Details,User Guide", "search_title":"", @@ -2063,7 +2063,7 @@ "node_id":"apm_07_0055.xml", "product_code":"", "code":"115", - "des":"On the Modify Exception Monitoring Configuration page, set the following parameters:Collection Interval: The default value is 60s and cannot be changed.Determine Trace Ex", + "des":"To record thread names in logs, you need to add %thread to the logback.xml file.On the Modify Exception Monitoring Configuration page, set the following parameters:Collec", "doc_type":"", "kw":"Configuring the Exception Monitoring Item,Application Monitoring Configuration,User Guide", "search_title":"", @@ -2165,7 +2165,7 @@ "node_id":"apm_07_0017.xml", "product_code":"apm", "code":"121", - "des":"APM supports summary tables, trend graphs, latest data tables, and original data tables.Summary table: records the summary calculation results based on the primary key me", + "des":"APM supports summary tables, trend graphs, latest data tables, and original data tables. The view of each monitoring item is configured in the background and has not been", "doc_type":"usermanual", "kw":"Monitoring Item Views,Application Metric Monitoring,User Guide", "search_title":"", diff --git a/docs/apm/umn/CLASS.TXT.json b/docs/apm/umn/CLASS.TXT.json index d40d401c7..2c7af4774 100644 --- a/docs/apm/umn/CLASS.TXT.json +++ b/docs/apm/umn/CLASS.TXT.json @@ -684,7 +684,7 @@ "code":"76" }, { - "desc":"The network between your host and APM is normal.You can run the Telnet command to check the network.Java supports enhanced Agents.", + "desc":"The network between your host and APM is normal. You can run the Telnet command to check the network.Java supports enhanced Agents.", "product_code":"apm", "title":"Connecting Agents", "uri":"apm_02_0003.html", @@ -765,7 +765,7 @@ "code":"85" }, { - "desc":"A maximum of three layers of sub-applications can be created.", + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"apm", "title":"Creating a Sub-application", "uri":"apm_07_0153.html", @@ -794,7 +794,7 @@ { "desc":"APM Agents periodically collect performance metric data to measure the overall health status of applications. They can collect the metric data of JVM, GC, service calls, ", "product_code":"apm", - "title":"Overview", + "title":"Introduction", "uri":"apm_07_0004.html", "doc_type":"usermanual", "p_code":"88", @@ -864,7 +864,7 @@ "code":"96" }, { - "desc":"This function monitors web containers, including Tomcat. This section focuses on Tomcat monitoring.Click a number in blue (such as those in the Current Threads, Busy Thre", + "desc":"This function monitors web containers, including Tomcat. This section focuses on Tomcat monitoring.Click a number in pink (such as those in the Current Threads, Busy Thre", "product_code":"apm", "title":"Web Container", "uri":"apm_07_0061.html", @@ -1026,7 +1026,7 @@ "code":"114" }, { - "desc":"On the Modify Exception Monitoring Configuration page, set the following parameters:Collection Interval: The default value is 60s and cannot be changed.Determine Trace Ex", + "desc":"To record thread names in logs, you need to add %thread to the logback.xml file.On the Modify Exception Monitoring Configuration page, set the following parameters:Collec", "product_code":"apm", "title":"Configuring the Exception Monitoring Item", "uri":"apm_07_0055.html", @@ -1080,7 +1080,7 @@ "code":"120" }, { - "desc":"APM supports summary tables, trend graphs, latest data tables, and original data tables.Summary table: records the summary calculation results based on the primary key me", + "desc":"APM supports summary tables, trend graphs, latest data tables, and original data tables. The view of each monitoring item is configured in the background and has not been", "product_code":"apm", "title":"Monitoring Item Views", "uri":"apm_07_0017.html", diff --git a/docs/apm/umn/apm_02_0001.html b/docs/apm/umn/apm_02_0001.html index ae11d10e2..97e870e2e 100644 --- a/docs/apm/umn/apm_02_0001.html +++ b/docs/apm/umn/apm_02_0001.html @@ -1,9 +1,8 @@

Enabling APM

-
  1. Enable APM.
    1. Log in to the APM console.

      If you log in to the APM console for the first time, you can choose the free or enterprise edition. For more information, see Edition Differences.

      -
      -
    2. Click on the left and choose Application > Application Performance Management.
    +
    1. Enable APM.
      1. Log in to the APM console.

        If you log in to the APM console for the first time, you can choose the free or enterprise edition. For more information, see Edition Differences.

        +
      2. Click on the left and choose Application > Application Performance Management.
    1. Obtain the access key that is automatically created.

      APM uses AK/SK for signature verification. Only authorized accounts can report data.

      1. Log in to the APM console.
      2. In the navigation pane, choose System Management > Access Keys.
      3. On the Access Keys page, view the access key that has been automatically created.
    diff --git a/docs/apm/umn/apm_02_0003.html b/docs/apm/umn/apm_02_0003.html index 4de68df18..6b381503b 100644 --- a/docs/apm/umn/apm_02_0003.html +++ b/docs/apm/umn/apm_02_0003.html @@ -1,15 +1,12 @@

    Connecting Agents

    -

    Prerequisites

    The network between your host and APM is normal.

    -

    You can run the Telnet command to check the network.

    -

    Java supports enhanced Agents.

    -
    +

    Prerequisites

    • The network between your host and APM is normal. You can run the Telnet command to check the network.
    • Java supports enhanced Agents.
    -

    Procedure

    1. Log in to the management console.
    2. Click on the left and choose Application > Application Performance Management.
    3. In the navigation pane, choose Application Monitoring > Applications.
    4. On the displayed page, click Connect Application.

      Figure 1 Connecting an application
      +

      Procedure

      1. Log in to the management console.
      2. Click on the left and choose Application > Application Performance Management.
      3. In the navigation pane, choose Application Monitoring > Applications.
      4. On the displayed page, click Connect Application.

        Figure 1 Connecting an application

      5. Select a region and application. Click Create Application. In the dialog box that is displayed, create an application by referring to Creating an Application.

        Figure 2 Basic information
        -

      6. Select Java for Backend language.

        Figure 3 Access mode
        -

      7. Select Enhanced Agent for Code Source.
      8. Use a remote login tool, such as PuTTY, to log in to the Linux host where the Agent is to be installed and run related commands as the root user.
      9. Select an access mode based on the application type and access data by following the instructions.

        Figure 4 Data access
        +

      10. Select Enhanced Agent for Access Mode.
      11. Select Java for Backend Language.

        Figure 3 Access mode
        +

      12. Use a remote login tool, such as PuTTY, to log in to the Linux host where the Agent is to be installed and run related commands as the user with the root or service permissions.
      13. Select an access mode based on the application type and access data by following the instructions.

        Figure 4 Data access
        @@ -22,9 +19,10 @@ - diff --git a/docs/apm/umn/apm_02_0004.html b/docs/apm/umn/apm_02_0004.html index c8a259469..0086ba7d7 100644 --- a/docs/apm/umn/apm_02_0004.html +++ b/docs/apm/umn/apm_02_0004.html @@ -16,12 +16,12 @@

        Example of adding -javaagent parameters:

        java -javaagent:/xxx/apm-javaagent/apm-javaagent.jar=appName={appName}

        If your enterprise has a large number of services, you can add more complex configurations. For example:

        -
        java -javaagent:/xxx/apm-javaagent/apm-javaagent.jar=appName=myApp,env=myEnv,envTag=myTag,business=myBusiness,subBusiness=mySub
        • The preceding parameters are built-in CMDB information of APM. For details, see CMDB Management.
        • Due to historical reasons, the metadata of APM startup parameters conflicts with some CMDB concepts. The following shows the details.

          Generally, the startup parameter is set to -javaagent:D:\javaagent-package\apm-javaagent\apm-javaagent.jar=appName=xxx,env=yyy,business=zzz,subBusiness=sss,envTag=xxx. appName indicates a component, business indicates an application, subBusiness indicates a sub-application, and envTag indicates an environment tag.

          +

          java -javaagent:/xxx/apm-javaagent/apm-javaagent.jar=appName=myApp,env=myEnv,envTag=myTag,business=myBusiness,subBusiness=mySub

          +
          • The preceding parameters are built-in CMDB information of APM. For details, see CMDB Management.
          • Due to historical reasons, the metadata of APM startup parameters conflicts with some CMDB concepts. The following shows the details.

            Generally, the startup parameter is set to -javaagent:D:\javaagent-package\apm-javaagent\apm-javaagent.jar=appName=xxx,env=yyy,business=zzz,subBusiness=sss,envTag=xxx. appName indicates a component, business indicates an application, subBusiness indicates a sub-application, and envTag indicates an environment tag.

            If business is not set on the web page, the system reports an error when the JavaAgent is started. If other parameters (subBusiness, appName, env, and envTag) are not set, the system automatically creates them when the JavaAgent is started.

            Component names are unique under an application.

          -
        -
        +

      14. Redeploy the application.
      15. diff --git a/docs/apm/umn/apm_02_0005.html b/docs/apm/umn/apm_02_0005.html index d35f70e6c..876a29bcf 100644 --- a/docs/apm/umn/apm_02_0005.html +++ b/docs/apm/umn/apm_02_0005.html @@ -1,64 +1,62 @@

        Installing Agents for the Java Applications Deployed in CCE Containers

        -
        • You are advised to install self-developed Agents for the Java applications deployed in CCE containers.
        -
        -

        Prerequisites

        • The network between your host and APM is normal.

          You can run the Telnet command to check the network.

          +

          Prerequisites

          • You are advised to install self-developed Agents for the Java applications deployed in CCE containers.
          • The network between your host and APM is normal.

            You can run the Telnet command to check the network.

          • For details, see Regions and Endpoints.
          • The AK/SK required for accessing JavaAgents have been obtained. To obtain them, log in to the APM console and choose System Management > Access Keys in the navigation pane.

            +
            Figure 1 Obtaining an AK/SK

          Usage Instruction

          APM only supports Java applications deployed on CCE. Table 1 describes the parameters.

          -
        Table 1 Parameter description

        Parameter

        APM_AK

        APM_SK

        AK and SK for installing JavaAgent.

        -
        CAUTION:

        When you copy the command to install JavaAgent, delete {} when setting APM_AK and APM_SK.

        -
        +

        AK and SK for installing JavaAgent. To obtain APM_AK and APM_SK, see Access Keys.

        +

        When you copy the command to install JavaAgent, delete {} when setting APM_AK and APM_SK.

        +

        Example:

        +
        curl -k https://javaagent.***/apm_agent_install2.sh -o apm_agent_install.sh && bash apm_agent_install.sh -ak * -sk * -masteraddress https://**** -obsaddress https://javaagent.***.com -version latest; history -cw; history -r 

        Yes

        - -
        Table 1 Parameters for configuring performance management

        Name

        +
        - - - - - - - - - - - - - - -
        Table 1 Parameters for configuring performance management

        Name

        Description

        +

        Description

        Probe

        +

        Probe

        Select a target probe. Options: Disable/APM probe.

        +

        Select a target probe. Options: Disable/APM probe.

        Probe Version

        +

        Probe Version

        Version of the probe. You are advised to select a probe type based on the CPU architecture of the node where the workload is located.

        +

        Version of the probe. You are advised to select a probe version based on the CPU architecture of the node where the workload is located.

        Probe Upgrade Policy

        +

        Probe Upgrade Policy

        Policy for the probe upgrade. The default value is Auto upgrade upon restart.

        +

        Policy for the probe upgrade. The default value is Auto upgrade upon restart.

        • Automatic upgrade upon restart: The system downloads the probe image each time the pod is restarted.
        • Manual upgrade: If a local image is available, it will be used. If no local image is available, the system downloads the probe image.

        APM Environment

        +

        APM Environment

        Enter an APM environment name. This parameter is optional.

        +

        Enter an APM environment name. This parameter is optional.

        APM App

        +

        APM App

        Select an existing APM application.

        +

        Select an existing APM application.

        Sub-app

        +

        Sub-app

        Enter an APM sub-application. This parameter is optional.

        +

        Enter an APM sub-application. This parameter is optional.

        Access Key

        +

        Access Key

        The system automatically obtains the APM key. For details, see Prerequisites.

        +

        The system automatically obtains the APM key. For details, see Prerequisites.

        -

        Procedure

        1. Log in to the CCE console. In the navigation pane, choose Workloads > Deployments or StatefulSets, and click Create Deployment or Create StatefulSet.
        2. In the APM Settings area on the Configure Advanced Settings page, select Java probe. The APM service will be enabled and a probe will be installed on the node.

          Probes provide traces, topologies, SQL analysis, and stack tracing for Java workloads. A small number of resources will be consumed when you run probes.

          -
          +

          Procedure

          1. Log in to the CCE console. In the navigation pane, choose Workloads > Deployments or StatefulSets, and click Create Deployment or Create StatefulSet.
          2. In the APM Settings area on the Configure Advanced Settings page, select Java probe. The APM service will be enabled and a probe will be installed on the node.

            Probes provide traces, topologies, SQL analysis, and stack tracing for Java workloads. A small number of resources will be consumed when you run probes.

          3. Set probe-related parameters.

            • Monitoring Group: Enter a monitoring group name, for example, testapp. Select a group from the drop-down list if there are any.
            • Probe Version: Select a probe version.
            • Probe Upgrade Policy: By default, Automatic upgrade upon restart is selected.
              • Automatic upgrade upon restart: The system downloads the probe image each time the pod is restarted.
              • Manual upgrade: If a local image is available, it will be used. If no local image is available, the system downloads the probe image.

          4. After the application is started, wait for about 3 minutes. Then, the application data is displayed on the APM console. You can log in to the APM console and optimize the application performance through topology and tracing.
          @@ -70,3 +68,10 @@
        + + \ No newline at end of file diff --git a/docs/apm/umn/apm_07_0001.html b/docs/apm/umn/apm_07_0001.html index 117fac1bf..b20554032 100644 --- a/docs/apm/umn/apm_07_0001.html +++ b/docs/apm/umn/apm_07_0001.html @@ -27,7 +27,8 @@

        The call and dependency relationships between applications are displayed, and abnormal instances can be automatically discovered.

        There are two types of application topologies:

        -
        • Single-component topology: topology of a single component under an environment. You can also view the call relationships of direct and indirect upstream and downstream components.
        • Global application topology: topology of some or all components under an application.
        +

        Single-component topology: topology of a single component under an environment. You can also view the call relationships of direct and indirect upstream and downstream components.

        +

        Global application topology: topology of some or all components under an application.

        URL Tracing

        @@ -47,14 +48,17 @@

        Configuration Management

        Configuration Management manages and displays the configurations supported by APM in a centralized manner. It consists of two parts:

        -
        • Collection Center: displays collectors in a centralized manner. You can view and manage various collectors, metrics, and collection parameters supported by APM.
        • Data Masking: You can set policies to mask the data reported using APM APIs.
        +

        Configuration Management manages and displays the configurations supported by APM in a centralized manner. It includes:

        +

        Collection Center: displays collectors in a centralized manner. You can view and manage various collectors, metrics, and collection parameters supported by APM.

        +

        Data Masking: You can set policies to mask the data reported using APM APIs.

        System Management

        System Management manages and displays system configurations in a centralized manner, including:

        -
        • Access Keys: long-term identity credentials. They ensure that the requests are secret, complete, and correct.
        • General Configuration: system general configuration. You can determine whether to collect data through bytecode instrumentation, specify the slow request threshold and maximum number of rows to collect, and set web monitoring aggregation.
        • Agent Count: APM counts the number of Agents used by tenants.
        +

        System Management manages and displays system configurations in a centralized manner. It includes:

        +

        Access Keys: long-term identity credentials. They ensure that the requests are secret, complete, and correct.

        +

        General Configuration: system general configuration. You can determine whether to collect data through bytecode instrumentation, and specify the slow request threshold and maximum number of rows to collect.

        +

        Agent Count: APM counts the number of Agents used by tenants.

        Permissions Management

        diff --git a/docs/apm/umn/apm_07_0002.html b/docs/apm/umn/apm_07_0002.html index 4c6a75b04..a33479b05 100644 --- a/docs/apm/umn/apm_07_0002.html +++ b/docs/apm/umn/apm_07_0002.html @@ -2,8 +2,8 @@

        Application List

        Application List

        The Applications page displays information such as components, environments, Agent status, and supported operations.

        -
        1. Log in to the management console.
        2. Click on the left and choose Application > Application Performance Management.
        3. In the navigation pane on the left, choose Application Monitoring > Applications.

          Figure 1 Application list
          -

          Component|Environment: name of a component or environment. You can click the text in blue to go to the corresponding to component or environment page.

          +
          1. Log in to the management console.
          2. Click on the left and choose Application > Application Performance Management.
          3. In the navigation pane on the left, choose Application Monitoring > Applications.

            Figure 1 Application list
            +

            Component|Environment: name of a component or environment. You can click the text in pink to go to the corresponding to component or environment page.

            Agent Status: number of Agents in different statuses.

            The following table describes the Agent statuses.

            diff --git a/docs/apm/umn/apm_07_0003.html b/docs/apm/umn/apm_07_0003.html index 5fa10b797..140931ab8 100644 --- a/docs/apm/umn/apm_07_0003.html +++ b/docs/apm/umn/apm_07_0003.html @@ -4,7 +4,7 @@