Skip to content

Commit 6978ac1

Browse files
committed
Convert connection strings doc to tabbed version
1 parent c090bde commit 6978ac1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/azure-monitor/app/sdk-connection-string.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ In this example, this connection string specifies explicit overrides for every s
147147

148148
Connection Strings are supported in the following SDK versions:
149149
- .NET and .NET Core v2.12.0
150-
- Java v2.5.1
150+
- Java v2.5.1 and Java 3.0
151151
- Javascript v2.3.0
152152
- NodeJS v1.5.0
153153
- Python v1.0.0
@@ -160,7 +160,7 @@ A connection string can be set by either in code, environment variable, or confi
160160

161161
- Connection String: `APPLICATIONINSIGHTS_CONNECTION_STRING`
162162

163-
### .Net SDK example
163+
# [.NET/.NetCore](#tab/net)
164164

165165
TelemetryConfiguration.ConnectionString: https://github.com/microsoft/ApplicationInsights-dotnet/blob/add45ceed35a817dc7202ec07d3df1672d1f610d/BASE/src/Microsoft.ApplicationInsights/Extensibility/TelemetryConfiguration.cs#L271-L274
166166

@@ -193,7 +193,7 @@ NetCore config.json:
193193
```
194194

195195

196-
### Java SDK example
196+
# [Java 2.5.X SDK](#tab/java)
197197

198198

199199
Java Explicitly Set:
@@ -209,7 +209,7 @@ ApplicationInsights.xml
209209
</ApplicationInsights>
210210
```
211211

212-
### Javascript SDK example
212+
# [JavaScript](#tab/js)
213213

214214
Important: Javascript doesn't support the use of Environment Variables.
215215

@@ -238,15 +238,15 @@ appInsights.loadAppInsights();
238238
appInsights.trackPageView();
239239
```
240240

241-
### Node SDK example
241+
# [Node.js](#tab/nodejs)
242242

243243
```javascript
244244
const appInsights = require("applicationinsights");
245245
appInsights.setup("InstrumentationKey=00000000-0000-0000-0000-000000000000;");
246246
appInsights.start();
247247
```
248248

249-
### Python SDK example
249+
# [Python](#tab/python)
250250

251251
We recommend users set the environment variable.
252252

0 commit comments

Comments
 (0)