Skip to content

Commit fdc9c41

Browse files
committed
Minor updates
1 parent 437f270 commit fdc9c41

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

articles/azure-monitor/app/java-in-process-agent.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Add `-javaagent:"path/to/applicationinsights-agent-3.3.1.jar"` to your applicati
7171
- You can set an environment variable:
7272

7373
```console
74-
APPLICATIONINSIGHTS_CONNECTION_STRING = <Copy connection string from Application Insights Resource Overview>
74+
APPLICATIONINSIGHTS_CONNECTION_STRING=<Copy connection string from Application Insights Resource Overview>
7575
```
7676

7777
- Or you can create a configuration file named `applicationinsights.json`. Place it in the same directory as `applicationinsights-agent-3.3.1.jar` with the following content:
@@ -118,9 +118,9 @@ In the `applicationinsights.json` file, you can also configure these settings:
118118

119119
For more information, see [Configuration options](./java-standalone-config.md).
120120

121-
## Instrumentation libraries
121+
## Automatic instrumentation
122122

123-
Java 3.x includes the following instrumentation libraries.
123+
Java 3.x includes the following automatic instrumentation.
124124

125125
### Autocollected requests
126126

@@ -225,7 +225,8 @@ This section explains how to modify telemetry.
225225

226226
### Add spans
227227

228-
You can use `opentelemetry-api` to create [tracers](https://opentelemetry.io/docs/instrumentation/java/manual/#tracing) and spans. Spans populate the dependencies table in Application Insights. The string passed in for the span's name is saved to the _target_ field within the dependency.
228+
You can use `opentelemetry-api` to create [tracers](https://opentelemetry.io/docs/instrumentation/java/manual/#tracing) and spans.
229+
Spans populate the `requests` and `dependencies` tables in Application Insights.
229230

230231
> [!NOTE]
231232
> This feature is only in 3.2.0 and later.
@@ -287,9 +288,7 @@ You can use `opentelemetry-api` to create span events, which populate the traces
287288

288289
You can use `opentelemetry-api` to add attributes to spans. These attributes can include adding a custom business dimension to your telemetry. You can also use attributes to set optional fields in the Application Insights schema, such as User ID or Client IP.
289290

290-
#### Add a custom dimension
291-
292-
Adding one or more custom dimensions populates the _customDimensions_ field in the requests, dependencies, traces, or exceptions table.
291+
Adding one or more span attributes populates the _customDimensions_ field in the requests, dependencies, traces, or exceptions table.
293292

294293
> [!NOTE]
295294
> This feature is only in 3.2.0 and later.
@@ -409,8 +408,8 @@ The following table represents currently supported custom telemetry types that y
409408

410409
- Custom metrics are supported through micrometer.
411410
- Custom exceptions and traces are supported through logging frameworks.
412-
- Custom requests, dependencies, and exceptions are supported through `opentelemetry-api`.
413-
- Any type of the custom telemetry is supported through the [Application Insights Java 2.x SDK](#send-custom-telemetry-by-using-the-2x-sdk).
411+
- Custom requests, dependencies, metrics, and exceptions are supported through `opentelemetry-api`.
412+
- All types of the custom telemetry is supported through the [Application Insights Java 2.x SDK](#send-custom-telemetry-by-using-the-2x-sdk).
414413

415414
| Custom telemetry type | Micrometer | Log4j, logback, JUL | 2.x SDK | opentelemetry-api |
416415
|-----------------------|------------|---------------------|---------|-------------------|
@@ -420,7 +419,7 @@ The following table represents currently supported custom telemetry types that y
420419
| Exceptions | | Yes | Yes | Yes |
421420
| Page views | | | Yes | |
422421
| Requests | | | Yes | Yes |
423-
| Traces | | Yes | Yes | Yes |
422+
| Traces | | Yes | Yes | |
424423

425424
Currently, we're not planning to release an SDK with Application Insights 3.x.
426425

articles/azure-monitor/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ items:
907907
href: app/java-standalone-telemetry-processors-examples.md
908908
- name: JVM arguments setup
909909
href: app/java-standalone-arguments.md
910-
- name: Upgrade from 2.x SDK
910+
- name: Upgrade from 2.x
911911
href: app/java-standalone-upgrade-from-2x.md
912912
- name: Python
913913
href: app/opentelemetry-enable.md?tabs=python

0 commit comments

Comments
 (0)