Skip to content

Commit e6ad24c

Browse files
committed
Final changes
1 parent 953c508 commit e6ad24c

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

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

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
title: Enable Azure Monitor OpenTelemetry for .NET, Java, Node.js, and Python applications
33
description: This article provides guidance on how to enable Azure Monitor on applications by using OpenTelemetry.
44
ms.topic: conceptual
5-
ms.date: 07/29/2024
5+
ms.date: 08/27/2024
66
ms.devlang: csharp
7-
# ms.devlang: csharp, javascript, typescript, python
7+
# ms.devlang: csharp, java, javascript, typescript, python
88
ms.custom: devx-track-dotnet, devx-track-extended-java, devx-track-python
99
ms.reviewer: mmcc
1010
---
@@ -285,18 +285,20 @@ To copy the connection string:
285285

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

288-
> [!NOTE]
289-
> We recommend setting the connection string through code only in local development and test environments. For production, use an environment variable or configuration file (Java only).
288+
> [!IMPORTANT]
289+
> We recommend setting the connection string through code only in local development and test environments.
290+
>
291+
> For production, use an environment variable or configuration file (Java only).
290292
291-
* Set via environment variable
293+
* **Set via environment variable** - *recommended*
292294

293-
Replace `<Your connection string>` in the following command with *your* unique connection string.
295+
Replace `<Your connection string>` in the following command with your connection string.
294296

295297
```console
296298
APPLICATIONINSIGHTS_CONNECTION_STRING=<Your connection string>
297299
```
298300

299-
* Set via configuration file - ***Java only***
301+
* **Set via configuration file** - *Java only*
300302
301303
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:
302304
@@ -308,7 +310,7 @@ To paste your connection string, select from the following options:
308310
309311
Replace `<Your connection string>` in the preceding JSON with *your* unique connection string.
310312

311-
* Set via code - ***ASP.NET Core, Node.js, and Python only***
313+
* **Set via code** - *ASP.NET Core, Node.js, and Python only*
312314
313315
See [connection string configuration](opentelemetry-configuration.md#connection-string) for an example of setting connection string via code.
314316

0 commit comments

Comments
 (0)