From 18860bb3064a5745791229fddbecad66e9b1073b Mon Sep 17 00:00:00 2001 From: micgibso Date: Wed, 12 Feb 2020 11:39:32 +0000 Subject: [PATCH 01/10] Update app metrics to metrics dashboard Signed-off-by: micgibso --- docs/_data/docstoc.yml | 4 ++-- docs/_documentations/checkingstatuses.md | 2 +- .../{appmetrics.md => metrics-dashboard.md} | 18 +++++++++--------- 3 files changed, 12 insertions(+), 12 deletions(-) rename docs/_documentations/{appmetrics.md => metrics-dashboard.md} (92%) diff --git a/docs/_data/docstoc.yml b/docs/_data/docstoc.yml index 6aaf4a01..f3009ed4 100644 --- a/docs/_data/docstoc.yml +++ b/docs/_data/docstoc.yml @@ -78,8 +78,8 @@ - title: 'Performance monitoring' children: - - title: 'Understanding Application Metrics' - url: 'appmetrics.html' + - title: 'Understanding the Metrics Dashboard' + url: 'metrics-dashboard.html' - title: 'Monitoring applications with the performance dashboard' url: performance.html diff --git a/docs/_documentations/checkingstatuses.md b/docs/_documentations/checkingstatuses.md index 09d96f22..eafa80fa 100644 --- a/docs/_documentations/checkingstatuses.md +++ b/docs/_documentations/checkingstatuses.md @@ -12,7 +12,7 @@ order: 7 # Checking the application and build statuses -Builds automatically begin when Codewind detects changes or when a build is initiated by pressing the Build button on a project. +Builds automatically begin when Codewind detects changes or when a build is initiated by clicking the **Build** button on a project. ## Application status diff --git a/docs/_documentations/appmetrics.md b/docs/_documentations/metrics-dashboard.md similarity index 92% rename from docs/_documentations/appmetrics.md rename to docs/_documentations/metrics-dashboard.md index c952756a..0fe8a612 100644 --- a/docs/_documentations/appmetrics.md +++ b/docs/_documentations/metrics-dashboard.md @@ -1,29 +1,29 @@ --- layout: docs -title: Understanding Application Metrics -description: Understanding Application Metrics +title: Understanding the Metrics Dashboard +description: Understanding the Metrics Dashboard keywords: import, help, metrics, Swift, Node.js, Java, performance monitoring, app monitor, dashboard, CPU, HTTP incoming requests, memory, HTTP throughput, Heap, HTTP outbound requests, loop times, other requests, run load, HTTP Requests, environment, resource usage, profiling, enabling, graph duration: 1 minute -permalink: appmetrics +permalink: metrics-dashboard type: document parent: order: --- -# Understanding Application Metrics +# Understanding the Metrics Dashboard -## What is Application Metrics? +## What is the Metrics Dashboard? -Application Metrics instruments Java, Node.js, and Swift runtimes for performance monitoring and provides the monitoring data through an API. You can also visualize data with the Application Metrics Dashboard. For more information, see [Application Metrics on GitHub](https://github.com/RuntimeTools/appmetrics). +The Metrics Dashboard instruments Java, Node.js, and Swift runtimes for performance monitoring and provides the monitoring data through an API. You can also visualize data with the Metrics Dashboard. For more information, see [Application Metrics on GitHub](https://github.com/RuntimeTools/appmetrics). -## Application Metrics types +## Metrics Dashboard types -Application Metrics is available in Java, Node.js, and Swift. You can monitor the projects that you create in these languages. +The Metrics Dashboard is available in Java, Node.js, and Swift. You can monitor the projects that you create in these languages. * [Application Metrics for Java](https://developer.ibm.com/javasdk/application-metrics-java/) * [Application Metrics for Node.js](https://developer.ibm.com/node/monitoring-post-mortem/application-metrics-node-js/) * [Application Metrics for Swift](https://developer.ibm.com/swift/monitoring-diagnostics/application-metrics-for-swift/) -## Accessing Application Metrics +## Accessing the Metrics Dashboard Click **App monitor** in the Microclimate project to access Application Metrics. Toggle between the **Dashboard** and **Summary** tabs. If you have a Node.js project, you can also access the **Profiling** tab. From c6ab03d787df21b9b207ef4207779f4bd0f07912 Mon Sep 17 00:00:00 2001 From: micgibso Date: Thu, 13 Feb 2020 08:48:17 +0000 Subject: [PATCH 02/10] Review comments Signed-off-by: micgibso --- docs/_documentations/checkingstatuses.md | 2 +- docs/_documentations/metrics-dashboard.md | 23 ++++++++---------- .../performanceguide/viewing_metrics.png | Bin 0 -> 20709 bytes 3 files changed, 11 insertions(+), 14 deletions(-) create mode 100644 docs/dist/images/performanceguide/viewing_metrics.png diff --git a/docs/_documentations/checkingstatuses.md b/docs/_documentations/checkingstatuses.md index eafa80fa..09866ff3 100644 --- a/docs/_documentations/checkingstatuses.md +++ b/docs/_documentations/checkingstatuses.md @@ -26,7 +26,7 @@ The application status shows the current state of your application. * To disable a project, navigate to the *Project Overview* page and click the *Disable project* button to stop the application and build containers to save resources. Troubleshooting the application status -* If your application goes into the **Stopped** state unexpectedly or stays in the **Starting** state longer than expected, check the application logs to see whether something went wrong. Problems with the application build or server configuration can make the application fail to start and create errors in the **Build logs** or **App logs**. +* If your application goes into the **Stopped** state unexpectedly or stays in the **Starting** state longer than expected, check the application logs to see whether something went wrong. Problems with the application build or server configuration can make the application fail to start and create errors in the log files. * Even without errors, the **Stopped** state can occur if the context root of the application is unreachable. ## Build status diff --git a/docs/_documentations/metrics-dashboard.md b/docs/_documentations/metrics-dashboard.md index 0fe8a612..9ae31c9c 100644 --- a/docs/_documentations/metrics-dashboard.md +++ b/docs/_documentations/metrics-dashboard.md @@ -25,7 +25,7 @@ The Metrics Dashboard is available in Java, Node.js, and Swift. You can monitor ## Accessing the Metrics Dashboard -Click **App monitor** in the Microclimate project to access Application Metrics. Toggle between the **Dashboard** and **Summary** tabs. If you have a Node.js project, you can also access the **Profiling** tab. +Click **Metrics Dashboard** in the Codewind project to access the Metrics Dashboard. Toggle between the **Dashboard** and **Summary** tabs. If you have a Node.js project, you can also access the **Profiling** tab. ## Enabling Application Metrics @@ -43,16 +43,14 @@ View these metrics to learn if your application is performing as intended. An ap * **Loop Times:** This graph indicates how fast a Node.js project is processing through an event loop. * **Other Requests:** This graph indicates the Socket.IO and other requests that the application processes. -## Clicking the **Run load** button - -Click the **Run load** button to run load your microservice. This button pings endpoints by using the Microclimate load runner service. - ## Viewing metrics information in the **Summary** tab View a summary of the information from the performance metrics graphs that you saw in the **Dashboard** tab. * **HTTP Requests:** This table displays how many times an endpoint is hit. If you repeatedly run a test while making code changes, you can see how the code changes are impacting application performance. * **Environment:** This table shows information about the environment you're running, such as the OS architecture and the number of processors you have. Having this information can make troubleshooting easier if you need to contact support and provide it. -* **Resource usage:** This table shows the **Average Process CPU**, which shows what Microclimate is doing, and the **Average System CPU**, which shows what the environment as a whole is doing. This information can help determine whether application issues are caused by something else in the environment that is external to the application. +* **Resource Usage:** This table shows the **Average Process CPU**, which shows what Codewind is doing, and the **Average System CPU**, which shows what the environment as a whole is doing. This information can help determine whether application issues are caused by something else in the environment that is external to the application. + +![image of viewing metrics](dist/images/performanceguide/viewing_metrics.png) ## Viewing the graph in the **Profiling** tab @@ -60,7 +58,11 @@ The **Profiling** tab is available only in Node.js projects. This tab pulls info ## Profiling Data Support -In Theia or VS Code, you can use the Profiling Language Server to provide code highlighting. Code highlighting displays the relative time spent in JavaScript functions based on profiling data gathered through [Microclimate load testing](performancetesting). Profiling support is only available for Node.js projects that are created through Microclimate and then profiled. +In Codewind, the load test data is obtained by running a load test using the Performance Dashboard. The directory is created in your project directory if Codewind Java Profiler or Codewind Node.js profiler is installed. +- For Java, the extension provides code highlighting showing relative time spent in Java methods based on profiling data collected through the Codewind load test feature. Once you execute a test, an hcd file is created in `load-test/[timestamp]/xxxx.hcd`. +- For Node.js, the extension provides code highlighting showing relative time spent in JavaScript functions based on profiling data collected through the Codewind load test feature. Once you execute a test, a JSON file is created in `load-test/[timestamp]/profiling.json`. + +In Theia or VS Code, you can use the Profiling Language Server to provide code highlighting. Code highlighting displays the relative time spent in JavaScript functions based on profiling data gathered through [load testing](performancetesting). Profiling support is only available for Node.js projects that are created through Microclimate and then profiled. - Profiling data is written to the workspace only on a successfully completed load run. If the load run is cancelled, it won't be written to the workspace. - Run the load run for a minimum of 45 seconds for enough profiling data to be gathered to generate the `profiling.json` file. @@ -71,11 +73,6 @@ To display code highlighting: 1. Open a project created with Microclimate and profiled using the [performance testing](performancetesting) feature of Microclimate. Profiling data is created in a `load-test//profiling.json` file in your Microclimate project. 2. In the **Editor** view, open a JavaScript file. The Editor highlights any lines that were found in the profiling data and annotates them to show how often they were seen and where they were called from. -To enable or disable the profile highlighting in the code, access the profiling in one of the following ways: -- Right-click in the editor and select `Toggle Profiling`. -- Open the command palette with `cmd+shift+p` on a Mac or `ctrl+shift+p` on Windows. Then, select `Microclimate: Profiling: Toggle Profiling`. -- Toggle the `Microprofile Profiling: Show Profiling` setting in the extensions settings. - For more information on sample-based profiling, see [Sample-based profiling](https://www.ibm.com/support/knowledgecenter/en/SS3KLZ/com.ibm.java.diagnostics.healthcenter.doc/topics/profiling_using.html). If profiling markers do not appear, check to see if your project and load run conform to the [necessary requirements to use profiling](troubleshooting#profiling-markers-do-not-appear). @@ -92,4 +89,4 @@ After you start the load test and the test completes, view the source code. Thei ## Need help? -If you encounter problems with application metrics, check the [Troubleshooting page](troubleshooting.html#understanding-application-metrics). +If you encounter problems with the Metrics Dashboard, check the [Troubleshooting page](troubleshooting.html#understanding-application-metrics). diff --git a/docs/dist/images/performanceguide/viewing_metrics.png b/docs/dist/images/performanceguide/viewing_metrics.png new file mode 100644 index 0000000000000000000000000000000000000000..0a5563e71a3a451ef947b5c34684b5a19e634870 GIT binary patch literal 20709 zcmbSyWl)w~)b1-C(k0#9DIwk6UDDkk4T5wxNJ=--NOyNimvkc_4QDgo%$fP-{5vx$ z-p@S4U3;%})e2WqkVHbjL-_B%|B$4m#8m$K@0}9(e>xll_}4Ke^Z@*L=b|Dh@?X^i z!67(+vJjRR{_nq4_bKauu7M8gh~Th=yN> zMfXHL@qIYTGce>1aptM{dxvVQx6SVf2?*|0{{8g z@YM@kwxvKYvz=^S&D8)DFGYq0$=YH8W^xss+J{I>*{#y+S#4l<&ehV+>H^w7K^2ejiI1?hXWtTf9a zG3aE-n66gO9w}&UDlz!WT+RtW3SZXTe*3>ZZtUmy`_ayCh2Y!YE$BM5|68`f%;Va*N zOZ!!=XI^{XE#?FtPwLRzYM0D2;2XcA^X4;-vY8IWxlHhcmgzYUQ^sJmp43LN_a|!_ zl=kF?646zL=8A@9dmWY5Ks;#f$MBsAecZkrBqr`hjLO>rmod<5=-3VY9l53P(-Yr$ z+tmQRgOW$)_2De6NzsWXIHNgJ3-8&lKSaLQ%Cnx^;nYmv1UC!1%-5$)8-5p?-HQA- zNyBB|P7@V)rC;lP2MOKVc2jgO^0$Vmb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UVpr%8OB# z5RbEekZ&POI~?e1CJHqT0E(-7zS1&;sZcD@uThISwsKva)W`s$ABxY>^w0hdbZgJ1 z9^W1*Gq9x9ok6W)G3;eKXwT$D1_{VrnGaY%6K!e0n~s<$v6#xRhUmhFKLUZwGQC*2 zMwic2%;XFa{tPR0B;Ks*ICXIo8zd`S9ix8JV=97OY6(xypwZ87T1vE|Uj2Byb~zll zaFGQpfOzA!`Y#%*eMi8D9Yohu8dXkcW{78$B%c7S1FnDq4H~Bk)fL_<^ji%Q{VH}) zz;J8mxD%p0)*ehC%Y*vm^TL6PKav2OLcE~tA!y<^2_$PVJ?)tYtdgl+Eh*%Cd6Q~W zVs>Z}jM-a`BiWc?`SLVU1Iq;NA% zh$R%Elk6DJ4h2dzaK3FxS*eFu)~7f}TBx&PgE8HY3@mmRjauq-CwtY7oqDgdPS1pA zLhm{cy>vAO%LYhGTiq-A`TH6f!aXb2-$AthvqJ(;1~a9UO!NYszuKl$x`zB6xrfDk zr&0*Q^5tyP!P}w-3*4T8uvmF4J@FD}h-kAyBEeHf$s@AjkYfokK_JXbnG9Iar#e;f z`N*jETcCA7=6b_+nr43eyF6)*ei|Qw?DNh5kS;QeGc$WY8=(piR1oxR-sPJI_xmqa zvNZIxAf^PV_1vi#%TXyd99o-&AddW(S@M6dL#+Pi8)93;>`u%>tqV)8LXN`#n(&Xa Mm~-d~E8qD40ILf2qW}N^ literal 0 HcmV?d00001 From 4426e9e1f016e3e8a6c06646e6d720f847b7fea3 Mon Sep 17 00:00:00 2001 From: micgibso Date: Thu, 13 Feb 2020 08:57:40 +0000 Subject: [PATCH 03/10] Review comments Signed-off-by: micgibso --- docs/_documentations/performance.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/_documentations/performance.md b/docs/_documentations/performance.md index 24a42d56..4f92fbd9 100644 --- a/docs/_documentations/performance.md +++ b/docs/_documentations/performance.md @@ -20,13 +20,13 @@ You will learn how to add and enable monitoring to your application. Then, you c ## Prerequisites -- VS Code or Eclipse +- VS Code, Eclipse, or Eclipse Che - A Codewind installation -## Accessing the performance dashboard +## Accessing the Performance Dashboard 1. From your IDE, go to the Codewind plug-in and right-click a project. -2. Then, select **Open Performance Dashboard**. A window appears that displays the performance dashboard.
+2. Then, select **Performance Dashboard**. A window appears that displays the performance dashboard.
![performance dashboard](dist/images/performanceguide/performancedash_window.png){:height="345px" width="691px"}.
@@ -40,7 +40,7 @@ You will learn how to add and enable monitoring to your application. Then, you c ## Modifying the load test -1. To modify the type of load run, click **Modify Parameters**. The **Load test configuration** window appears. +1. To modify the type of load run, click **Edit load run settings**. The **Load test configuration** window appears. 2. You can change the following values: - **Method**: Choose a GET or POST request. - **Path** From d1631508502253ffa1ac1d865b55880a7fffc0e1 Mon Sep 17 00:00:00 2001 From: micgibso Date: Fri, 14 Feb 2020 11:50:35 +0000 Subject: [PATCH 04/10] Edit Signed-off-by: micgibso --- docs/_documentations/metrics-dashboard.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_documentations/metrics-dashboard.md b/docs/_documentations/metrics-dashboard.md index 96becd96..6ae8c107 100644 --- a/docs/_documentations/metrics-dashboard.md +++ b/docs/_documentations/metrics-dashboard.md @@ -62,7 +62,7 @@ In Codewind, the load test data is obtained by running a load test using the Per - For Java, the extension provides code highlighting showing relative time spent in Java methods based on profiling data collected through the Codewind load test feature. Once you execute a test, an hcd file is created in `load-test/[timestamp]/xxxx.hcd`. - For Node.js, the extension provides code highlighting showing relative time spent in JavaScript functions based on profiling data collected through the Codewind load test feature. Once you execute a test, a JSON file is created in `load-test/[timestamp]/profiling.json`. -In Theia or VS Code, you can use the Profiling Language Server to provide code highlighting. Code highlighting displays the relative time spent in JavaScript functions based on profiling data gathered through [load testing](performancetesting). Profiling support is only available for Node.js projects that are created through Microclimate and then profiled. +In Theia or VS Code, you can use the Profiling Language Server to provide code highlighting. Code highlighting displays the relative time spent in JavaScript functions based on profiling data gathered through [load testing](performancetesting). Profiling support is only available for Node.js projects that are created through Codewind and then profiled. - Profiling data is written to the workspace only on a successfully completed load run. If the load run is cancelled, it won't be written to the workspace. - Run the load run for a minimum of 45 seconds for enough profiling data to be gathered to generate the `profiling.json` file. From afa5ed086ad875e23d55702b217c17b75475d12c Mon Sep 17 00:00:00 2001 From: micgibso Date: Fri, 14 Feb 2020 15:26:23 +0000 Subject: [PATCH 05/10] Edit Signed-off-by: micgibso --- docs/_documentations/metrics-dashboard.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/_documentations/metrics-dashboard.md b/docs/_documentations/metrics-dashboard.md index 6ae8c107..67d1d15b 100644 --- a/docs/_documentations/metrics-dashboard.md +++ b/docs/_documentations/metrics-dashboard.md @@ -58,15 +58,9 @@ The **Profiling** tab is available only in Node.js projects. This tab pulls info ## Profiling Data Support -In Codewind, the load test data is obtained by running a load test using the Performance Dashboard. The directory is created in your project directory if Codewind Java Profiler or Codewind Node.js profiler is installed. -- For Java, the extension provides code highlighting showing relative time spent in Java methods based on profiling data collected through the Codewind load test feature. Once you execute a test, an hcd file is created in `load-test/[timestamp]/xxxx.hcd`. -- For Node.js, the extension provides code highlighting showing relative time spent in JavaScript functions based on profiling data collected through the Codewind load test feature. Once you execute a test, a JSON file is created in `load-test/[timestamp]/profiling.json`. - In Theia or VS Code, you can use the Profiling Language Server to provide code highlighting. Code highlighting displays the relative time spent in JavaScript functions based on profiling data gathered through [load testing](performancetesting). Profiling support is only available for Node.js projects that are created through Codewind and then profiled. - Profiling data is written to the workspace only on a successfully completed load run. If the load run is cancelled, it won't be written to the workspace. -- Run the load run for a minimum of 45 seconds for enough profiling data to be gathered to generate the `profiling.json` file. -- You can configure the load run time in the `config.json` file in the `load-test` directory. The default time is 2 minutes. - Out of all the folders that contain a `profiling.json` file, the most up-to-date `profiling.json` file is the one that is displayed. The code for the older profiling data might be out of date, such as pointing to lines that have been moved. To display code highlighting: From 8671ac3a3ded6b607ead004e2a7b33c0bcf09f46 Mon Sep 17 00:00:00 2001 From: micgibso Date: Fri, 14 Feb 2020 15:34:15 +0000 Subject: [PATCH 06/10] Correct default time and restore advice Signed-off-by: micgibso --- docs/_documentations/metrics-dashboard.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/_documentations/metrics-dashboard.md b/docs/_documentations/metrics-dashboard.md index 67d1d15b..dfbab5f7 100644 --- a/docs/_documentations/metrics-dashboard.md +++ b/docs/_documentations/metrics-dashboard.md @@ -61,6 +61,8 @@ The **Profiling** tab is available only in Node.js projects. This tab pulls info In Theia or VS Code, you can use the Profiling Language Server to provide code highlighting. Code highlighting displays the relative time spent in JavaScript functions based on profiling data gathered through [load testing](performancetesting). Profiling support is only available for Node.js projects that are created through Codewind and then profiled. - Profiling data is written to the workspace only on a successfully completed load run. If the load run is cancelled, it won't be written to the workspace. +- Run the load run for a minimum of 45 seconds for enough profiling data to be gathered to generate the `profiling.json` file. +- You can configure the load run time in the `config.json` file in the `load-test` directory. The default time is 3 minutes. - Out of all the folders that contain a `profiling.json` file, the most up-to-date `profiling.json` file is the one that is displayed. The code for the older profiling data might be out of date, such as pointing to lines that have been moved. To display code highlighting: From 046470c28ee9eb4b383aef9cc13433dda1423f02 Mon Sep 17 00:00:00 2001 From: micgibso Date: Fri, 14 Feb 2020 16:22:42 +0000 Subject: [PATCH 07/10] More review comments Signed-off-by: micgibso --- docs/_documentations/metrics-dashboard.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/_documentations/metrics-dashboard.md b/docs/_documentations/metrics-dashboard.md index dfbab5f7..359daccb 100644 --- a/docs/_documentations/metrics-dashboard.md +++ b/docs/_documentations/metrics-dashboard.md @@ -14,11 +14,11 @@ order: ## What is the Metrics Dashboard? -The Metrics Dashboard instruments Java, Node.js, and Swift runtimes for performance monitoring and provides the monitoring data through an API. You can also visualize data with the Metrics Dashboard. For more information, see [Application Metrics on GitHub](https://github.com/RuntimeTools/appmetrics). +Application Metrics instruments Java, Node.js, and Swift runtimes for performance monitoring and provides the monitoring data through an API. The Metrics Dashboard is a method for you to visualize this data. ## Metrics Dashboard types -The Metrics Dashboard is available in Java, Node.js, and Swift. You can monitor the projects that you create in these languages. +The Metrics Dashboard is available for Java, Node.js, and Swift. You can monitor the projects that you create in these languages. * [Application Metrics for Java](https://developer.ibm.com/javasdk/application-metrics-java/) * [Application Metrics for Node.js](https://developer.ibm.com/node/monitoring-post-mortem/application-metrics-node-js/) * [Application Metrics for Swift](https://developer.ibm.com/swift/monitoring-diagnostics/application-metrics-for-swift/) @@ -29,7 +29,7 @@ Click **Metrics Dashboard** in the Codewind project to access the Metrics Dashbo ## Enabling Application Metrics -If you import a project that does not include Application Metrics monitoring data associated with it, you can add Application Metrics by including the appropriate resource or performance monitoring application. For more information, see [RuntimeTools](https://github.com/RuntimeTools/). +If you import a project that does not include Application Metrics monitoring data associated with it, you can add Application Metrics by including the appropriate resource or performance monitoring application. For more information, see [RuntimeTools](https://github.com/RuntimeTools/). For more information about Application Metrics, see [Application Metrics on GitHub](https://github.com/RuntimeTools/appmetrics). ## Understanding performance metrics in the **Dashboard** tab @@ -48,7 +48,7 @@ View these metrics to learn if your application is performing as intended. An ap View a summary of the information from the performance metrics graphs that you saw in the **Dashboard** tab. * **HTTP Requests:** This table displays how many times an endpoint is hit. If you repeatedly run a test while making code changes, you can see how the code changes are impacting application performance. * **Environment:** This table shows information about the environment you're running, such as the OS architecture and the number of processors you have. Having this information can make troubleshooting easier if you need to contact support and provide it. -* **Resource Usage:** This table shows the **Average Process CPU**, which shows what Codewind is doing, and the **Average System CPU**, which shows what the environment as a whole is doing. This information can help determine whether application issues are caused by something else in the environment that is external to the application. +* **Resource Usage:** This table shows the **Average Process CPU**, which shows what the application is doing, and the **Average System CPU**, which shows what the environment as a whole is doing. This information can help determine whether application issues are caused by something else in the environment that is external to the application. ![image of viewing metrics](dist/images/performanceguide/viewing_metrics.png) @@ -56,9 +56,15 @@ View a summary of the information from the performance metrics graphs that you s The **Profiling** tab is available only in Node.js projects. This tab pulls information from the CPU metric in the **Dashboard** tab. CPU cycles are caused by an execution of code. Receiving an endpoint doesn't cause many CPU cycles, but receiving an incoming payload can. Profiling shows you what occurs when a spike appears in the CPU metric. Each spike on the flame graph shows a call stack in the path. The width of a spike indicates how much time the CPU spends on a function. Wide spikes indicate that your CPU spends much time on a particular function and where you might want change the code to optimize it. -## Profiling Data Support +## Code highlighting -In Theia or VS Code, you can use the Profiling Language Server to provide code highlighting. Code highlighting displays the relative time spent in JavaScript functions based on profiling data gathered through [load testing](performancetesting). Profiling support is only available for Node.js projects that are created through Codewind and then profiled. +In Theia or VS Code, you can use code highlighting to improve your code. Code highlighting displays the relative time spent in JavaScript functions based on profiling data gathered through [load testing](performancetesting). Profiling support is available for Node.js or Java projects that are created through Codewind and then profiled. + +To enable code hightlighting, you must install the appropriate VS Code extension: +- For Node apps, install the [Codewind Node Profiler](https://marketplace.visualstudio.com/items?itemName=IBM.codewind-node-profiler). +- For Java apps, install the [Codewind Java Profiler](https://marketplace.visualstudio.com/items?itemName=IBM.codewind-java-profiler). + +Java is supported however if the Metrics Dashboard does not show profiling data, use the editor plugin to display it instead. - Profiling data is written to the workspace only on a successfully completed load run. If the load run is cancelled, it won't be written to the workspace. - Run the load run for a minimum of 45 seconds for enough profiling data to be gathered to generate the `profiling.json` file. From d26551886b90e8dfec7ad9cd6775a2e618cdd037 Mon Sep 17 00:00:00 2001 From: micgibso Date: Fri, 14 Feb 2020 16:31:07 +0000 Subject: [PATCH 08/10] Links Signed-off-by: micgibso --- docs/_documentations/metrics-dashboard.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_documentations/metrics-dashboard.md b/docs/_documentations/metrics-dashboard.md index 359daccb..59672eec 100644 --- a/docs/_documentations/metrics-dashboard.md +++ b/docs/_documentations/metrics-dashboard.md @@ -58,7 +58,7 @@ The **Profiling** tab is available only in Node.js projects. This tab pulls info ## Code highlighting -In Theia or VS Code, you can use code highlighting to improve your code. Code highlighting displays the relative time spent in JavaScript functions based on profiling data gathered through [load testing](performancetesting). Profiling support is available for Node.js or Java projects that are created through Codewind and then profiled. +In Theia or VS Code, you can use code highlighting to improve your code. Code highlighting displays the relative time spent in JavaScript functions based on profiling data gathered through [load testing](performance). Profiling support is available for Node.js or Java projects that are created through Codewind and then profiled. To enable code hightlighting, you must install the appropriate VS Code extension: - For Node apps, install the [Codewind Node Profiler](https://marketplace.visualstudio.com/items?itemName=IBM.codewind-node-profiler). From 349eb4e710f63c782b1e2162c0ef10065429b119 Mon Sep 17 00:00:00 2001 From: micgibso Date: Fri, 14 Feb 2020 16:57:19 +0000 Subject: [PATCH 09/10] Links Signed-off-by: micgibso --- docs/_documentations/metrics-dashboard.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_documentations/metrics-dashboard.md b/docs/_documentations/metrics-dashboard.md index 59672eec..eead7127 100644 --- a/docs/_documentations/metrics-dashboard.md +++ b/docs/_documentations/metrics-dashboard.md @@ -29,7 +29,7 @@ Click **Metrics Dashboard** in the Codewind project to access the Metrics Dashbo ## Enabling Application Metrics -If you import a project that does not include Application Metrics monitoring data associated with it, you can add Application Metrics by including the appropriate resource or performance monitoring application. For more information, see [RuntimeTools](https://github.com/RuntimeTools/). For more information about Application Metrics, see [Application Metrics on GitHub](https://github.com/RuntimeTools/appmetrics). +If you import a project that does not include Application Metrics monitoring data associated with it, you can add Application Metrics by including the appropriate resource or performance monitoring application. For more information, see [RuntimeTools](https://github.com/RuntimeTools/). ## Understanding performance metrics in the **Dashboard** tab @@ -48,7 +48,7 @@ View these metrics to learn if your application is performing as intended. An ap View a summary of the information from the performance metrics graphs that you saw in the **Dashboard** tab. * **HTTP Requests:** This table displays how many times an endpoint is hit. If you repeatedly run a test while making code changes, you can see how the code changes are impacting application performance. * **Environment:** This table shows information about the environment you're running, such as the OS architecture and the number of processors you have. Having this information can make troubleshooting easier if you need to contact support and provide it. -* **Resource Usage:** This table shows the **Average Process CPU**, which shows what the application is doing, and the **Average System CPU**, which shows what the environment as a whole is doing. This information can help determine whether application issues are caused by something else in the environment that is external to the application. +* **Resource Usage:** This table shows the **Average Process CPU**, which shows what the application is using, and the **Average System CPU**, which shows what the environment as a whole is using. This information can help determine whether application issues are caused by something else in the environment that is external to the application. ![image of viewing metrics](dist/images/performanceguide/viewing_metrics.png) From d13a2400b5905e01b5ea0dddc63e6837a0e7c02a Mon Sep 17 00:00:00 2001 From: micgibso Date: Mon, 17 Feb 2020 08:45:42 +0000 Subject: [PATCH 10/10] Review comments Signed-off-by: micgibso --- docs/_documentations/metrics-dashboard.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_documentations/metrics-dashboard.md b/docs/_documentations/metrics-dashboard.md index eead7127..f8649503 100644 --- a/docs/_documentations/metrics-dashboard.md +++ b/docs/_documentations/metrics-dashboard.md @@ -56,9 +56,9 @@ View a summary of the information from the performance metrics graphs that you s The **Profiling** tab is available only in Node.js projects. This tab pulls information from the CPU metric in the **Dashboard** tab. CPU cycles are caused by an execution of code. Receiving an endpoint doesn't cause many CPU cycles, but receiving an incoming payload can. Profiling shows you what occurs when a spike appears in the CPU metric. Each spike on the flame graph shows a call stack in the path. The width of a spike indicates how much time the CPU spends on a function. Wide spikes indicate that your CPU spends much time on a particular function and where you might want change the code to optimize it. -## Code highlighting +## Code highlighting for profiling data -In Theia or VS Code, you can use code highlighting to improve your code. Code highlighting displays the relative time spent in JavaScript functions based on profiling data gathered through [load testing](performance). Profiling support is available for Node.js or Java projects that are created through Codewind and then profiled. +Code highlighting for profiing data highlights the most heavily used functions based on profiling data gathered through [load testing](performance). Support for code highlighting is available for Node.js or Java projects that are created through Codewind and then profiled. To enable code hightlighting, you must install the appropriate VS Code extension: - For Node apps, install the [Codewind Node Profiler](https://marketplace.visualstudio.com/items?itemName=IBM.codewind-node-profiler).