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
@@ -285,18 +285,20 @@ To copy the connection string:
285
285
286
286
To paste your connection string, select from the following options:
287
287
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).
290
292
291
-
* Set via environment variable
293
+
***Set via environment variable** - *recommended*
292
294
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.
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:
302
304
@@ -308,7 +310,7 @@ To paste your connection string, select from the following options:
308
310
309
311
Replace `<Your connection string>` in the preceding JSON with *your* unique connection string.
310
312
311
-
* Set via code - ***ASP.NET Core, Node.js, and Python only***
313
+
* **Set via code** - *ASP.NET Core, Node.js, and Python only*
312
314
313
315
See [connection string configuration](opentelemetry-configuration.md#connection-string) for an example of setting connection string via code.
0 commit comments