You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/deprecated-java-2x.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,12 @@ ms.reviewer: mmcc
17
17
18
18
In this article, you'll learn how to use Java 2.x with Application Insights. This article shows you how to:
19
19
20
-
- Get started, including using the Application Insights SDK to instrument request, track dependencies, collect performance counters, diagnose performance issues and exceptions, and write code to track what users do with your app
21
-
- Send trace logs sent automatically to Application Insights
20
+
- Get started, including instrumenting request, tracking dependencies, collecting performance counters, diagnosing performance issues and exceptions, and writing code to track what users do with your app
21
+
- Send trace logs to Application Insights and explore them using the Application Insights portal.
22
22
- Monitor dependencies, caught exceptions, and method execution times in Java web apps
23
23
- Filter telemetry in your Java web app
24
-
- Explore Linux system performance metrics in Application Insights by installing collectd
25
-
-Use Micrometer with Azure Application Insights Java SDK
24
+
- Explore Linux system performance metrics in Application Insights by using collectd
25
+
-Measure metrics for JVM-based application code and export the data to your favorite monitoring systems by using Micrometer application monitoring
26
26
27
27
## Get started with Application Insights in a Java web project
28
28
@@ -42,7 +42,7 @@ Application Insights is an extensible analytics service for web developers that
42
42
43
43
3. Find the instrumentation key of the new resource. You'll need to paste this key into your code project shortly.
44
44
45
-

45
+
:::image type="content" source="./media/deprecated-java-2x/instrumentation-key-001.png" alt-text="In the new resource overview, click Properties and copy the Instrumentation Key." lightbox="./media/deprecated-java-2x/instrumentation-key-001.png":::
@@ -164,23 +164,23 @@ Return to your Application Insights resource in [Microsoft Azure portal](https:/
164
164
165
165
HTTP requests data appears on the overview pane. (If it isn't there, wait a few seconds and then click Refresh.)
166
166
167
-

167
+
:::image type="content" source="./media/deprecated-java-2x/overview-graphs.png" alt-text="Screenshot of overview sample data." lightbox="./media/deprecated-java-2x/overview-graphs.png":::
168
168
169
169
[Learn more about metrics.][metrics]
170
170
171
171
Click through any chart to see more detailed aggregated metrics.
172
172
173
-

173
+
:::image type="content" source="./media/deprecated-java-2x/006-barcharts.png" alt-text="Application Insights failures pane with charts." lightbox="./media/deprecated-java-2x/006-barcharts.png":::
174
174
175
175
#### Instance data
176
176
Click through a specific request type to see individual instances.
177
177
178
-

178
+
:::image type="content" source="./media/deprecated-java-2x/007-instance.png" alt-text="Drill into a specific sample view" lightbox="./media/deprecated-java-2x/007-instance.png":::
179
179
180
180
#### Analytics: Powerful query language
181
181
As you accumulate more data, you can run queries both to aggregate data and to find individual instances. [Analytics](../logs/log-query-overview.md) is a powerful tool for both for understanding performance and usage, and for diagnostic purposes.
182
182
183
-

183
+
:::image type="content" source="./media/deprecated-java-2x/0025.png" alt-text="Example of Analytics." lightbox="./media/deprecated-java-2x/0025.png":::
184
184
185
185
### Install your app on the server
186
186
Now publish your app to the server, let people use it, and watch the telemetry show up on the portal.
@@ -225,7 +225,7 @@ Outgoing SDK configuration is defined in the [AI-Agent.xml](#monitor-dependencie
225
225
### Performance counters
226
226
Open **Investigate**, **Metrics**, to see a range of performance counters.
227
227
228
-

228
+
:::image type="content" source="./media/deprecated-java-2x/011-perf-counters.png" alt-text="Screenshot of metrics pane with process private bytes selected." lightbox="./media/deprecated-java-2x/011-perf-counters.png":::
229
229
230
230
#### Customize performance counter collection
231
231
To disable collection of the standard set of performance counters, add the following code under the root node of the *ApplicationInsights.xml* file:
@@ -481,7 +481,7 @@ Now that you've configured your project to send traces to Application Insights,
481
481
482
482
Exceptions submitted via loggers will be displayed on the portal as Exception Telemetry.
483
483
484
-

484
+
:::image type="content" source="./media/deprecated-java-2x/01-diagnostics.png" alt-text="In the Application Insights portal, open Search" lightbox="./media/deprecated-java-2x/01-diagnostics.png":::
485
485
486
486
<!-- START ARTICLE: Dependencies -->
487
487
@@ -863,7 +863,7 @@ In the [Microsoft Azure portal](https://portal.azure.com), open the [Application
863
863
864
864
Take a copy of the instrumentation key, which identifies the resource.
865
865
866
-

866
+
:::image type="content" source="./media/deprecated-java-2x/instrumentation-key-001.png" alt-text="Browse all, open your resource, and then in the Essentials drop-down, select, and copy the Instrumentation Key" lightbox="./media/deprecated-java-2x/instrumentation-key-001.png":::
0 commit comments