Skip to content

Commit 03631d6

Browse files
committed
More changes to language and structure
1 parent 133c467 commit 03631d6

File tree

3 files changed

+15
-37
lines changed

3 files changed

+15
-37
lines changed

articles/azure-monitor/app/azure-ad-authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Use the `APPLICATIONINSIGHTS_AUTHENTICATION_STRING` environment variable to let
172172
> [!NOTE]
173173
> Support for Microsoft Entra ID in the Application Insights Java agent is included starting with [Java 3.2.0-BETA](https://github.com/microsoft/ApplicationInsights-Java/releases/tag/3.2.0-BETA).
174174
175-
1. [Configure your application with the Java agent.](opentelemetry-enable.md?tabs=java#get-started)
175+
1. [Configure your application with the Java agent.](opentelemetry-enable.md?tabs=java#enable-opentelemetry-with-application-insights)
176176

177177
> [!IMPORTANT]
178178
> Use the full connection string, which includes `IngestionEndpoint`, when you configure your app with the Java agent. For example, use `InstrumentationKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX;IngestionEndpoint=https://XXXX.applicationinsights.azure.com/`.

articles/azure-monitor/app/opentelemetry-enable.md

Lines changed: 13 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -125,18 +125,18 @@ Download the [applicationinsights-agent-3.5.4.jar](https://github.com/microsoft/
125125
#### [Java native](#tab/java-native)
126126

127127
For Spring Boot native applications:
128+
128129
* [Import the OpenTelemetry Bills of Materials (BOM)](https://opentelemetry.io/docs/zero-code/java/spring-boot-starter/getting-started/).
129130
* Add the [Spring Cloud Azure Starter Monitor](https://central.sonatype.com/artifact/com.azure.spring/spring-cloud-azure-starter-monitor) dependency.
130131
* Follow [these instructions](/azure//developer/java/spring-framework/developer-guide-overview#configuring-spring-boot-3) for the Azure SDK JAR (Java Archive) files.
131132

132133
For Quarkus native applications:
134+
133135
* Add the [Quarkus OpenTelemetry Exporter for Azure](https://mvnrepository.com/artifact/io.quarkiverse.opentelemetry.exporter/quarkus-opentelemetry-exporter-azure) dependency.
134136

135137
#### [Node.js](#tab/nodejs)
136138

137-
Install these packages:
138-
139-
- [@azure/monitor-opentelemetry](https://www.npmjs.com/package/@azure/monitor-opentelemetry)
139+
Install the latest [@azure/monitor-opentelemetry](https://www.npmjs.com/package/@azure/monitor-opentelemetry) package:
140140

141141
```sh
142142
npm install @azure/monitor-opentelemetry
@@ -172,7 +172,7 @@ pip install azure-monitor-opentelemetry
172172

173173
#### [ASP.NET Core](#tab/aspnetcore)
174174

175-
Add `UseAzureMonitor()` to your application startup, located in your `program.cs` class.
175+
Add `UseAzureMonitor()` to your application startup, located in your `program.cs` class:
176176

177177
```csharp
178178
using Azure.Monitor.OpenTelemetry.AspNetCore;
@@ -188,7 +188,7 @@ app.Run();
188188

189189
#### [.NET](#tab/net)
190190

191-
Add the Azure Monitor Exporter to each OpenTelemetry signal in the `program.cs` class.
191+
Add the Azure Monitor Exporter to each OpenTelemetry signal in the `program.cs` class:
192192

193193
```csharp
194194
// Create a new tracer provider builder and add an Azure Monitor trace exporter to the tracer provider builder.
@@ -235,7 +235,7 @@ Point the Java virtual machine (JVM) to the jar file by adding `-javaagent:"path
235235
236236
#### [Java native](#tab/java-native)
237237

238-
Several automatic instrumentations are enabled through configuration changes; no code changes are required
238+
Several automatic instrumentations are enabled through configuration changes. *No code changes are required.*
239239

240240
#### [Node.js](#tab/nodejs)
241241

@@ -284,15 +284,15 @@ To copy the connection string:
284284

285285
To paste your connection string, select from the following options:
286286

287-
* Set via Environment Variable (Recommended)
287+
* Set via environment variable
288288

289289
Replace `<Your connection string>` in the following command with *your* unique connection string.
290290

291291
```console
292292
APPLICATIONINSIGHTS_CONNECTION_STRING=<Your connection string>
293293
```
294294

295-
* Set via Configuration File - Java Only (Recommended)
295+
* Set via configuration file - ***Java only***
296296
297297
Create a configuration file named `applicationinsights.json`, and place it in the same directory as `applicationinsights-agent-3.5.4.jar` with the following content:
298298
@@ -311,54 +311,32 @@ To paste your connection string, select from the following options:
311311
-->
312312

313313
> [!NOTE]
314-
> If you set the connection string in more than one place, we adhere to the following precedence:
315-
>
316-
> 1. Code
317-
> 2. Environment Variable
314+
> If you set the connection string in multiple places, the environment variable will be prioritized over the configuration file.
318315

319316
### Confirm data is flowing
320317

321-
Run your application and open your **Application Insights Resource** tab in the Azure portal. It might take a few minutes for data to show up in the portal.
318+
Run your application, then open Application Insights in the Azure portal. It might take a few minutes for data to show up.
322319

323320
:::image type="content" source="media/opentelemetry/server-requests.png" alt-text="Screenshot of the Application Insights Overview tab with server requests and server response time highlighted.":::
324321

325-
Application Insights is now enabled for your application. All the following steps are optional and allow for further customization.
322+
Application Insights is now enabled for your application. The following steps are optional and allow for further customization.
326323

327324
> [!IMPORTANT]
328325
> If you have two or more services that emit telemetry to the same Application Insights resource, you're required to [set Cloud Role Names](opentelemetry-configuration.md#set-the-cloud-role-name-and-the-cloud-role-instance) to represent them properly on the Application Map.
329326

330327
As part of using Application Insights instrumentation, we collect and send diagnostic data to Microsoft. This data helps us run and improve Application Insights. To learn more, see [Statsbeat in Azure Application Insights](./statsbeat.md).
331328

332-
## Samples
333-
334-
Azure Monitor OpenTelemetry sample applications are available for all supported languages.
329+
## Sample applications
335330

336-
### [ASP.NET Core](#tab/aspnetcore)
331+
Azure Monitor OpenTelemetry sample applications are available for all supported languages:
337332

338333
* [ASP.NET Core sample app](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Demo)
339-
340-
### [.NET](#tab/net)
341-
342334
* [NET sample app](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Demo)
343-
344-
### [Java](#tab/java)
345-
346335
* [Java sample apps](https://github.com/Azure-Samples/ApplicationInsights-Java-Samples)
347-
348-
### [Java native](#tab/java-native)
349-
350336
* [Java GraalVM native sample apps](https://github.com/Azure-Samples/java-native-telemetry)
351-
352-
### [Node.js](#tab/nodejs)
353-
354337
* [Node.js sample app](https://github.com/Azure-Samples/azure-monitor-opentelemetry-node.js)
355-
356-
### [Python](#tab/python)
357-
358338
* [Python sample apps](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/monitor/azure-monitor-opentelemetry/samples)
359339

360-
---
361-
362340
## Next steps
363341

364342
### [ASP.NET Core](#tab/aspnetcore)

articles/azure-monitor/app/opentelemetry-python-opencensus-migrate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The following documentation provides prerequisite knowledge of the OpenTelemetry
5959
6060
## Step 4: Set up the Azure Monitor OpenTelemetry Distro
6161

62-
Follow the [getting started](./opentelemetry-enable.md?tabs=python#get-started)
62+
Follow the [getting started](./opentelemetry-enable.md?tabs=python#enable-opentelemetry-with-application-insights)
6363
page to onboard onto the Azure Monitor OpenTelemetry Distro.
6464

6565
## Changes and limitations

0 commit comments

Comments
 (0)