Skip to content

Commit 14a257b

Browse files
committed
Adding line saying connectionString must have correct format.
1 parent 6fefe20 commit 14a257b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/azure-monitor/app/javascript-sdk.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ To paste the connection string in your environment, follow these steps:
122122

123123
1. Replace the placeholder `"YOUR_CONNECTION_STRING"` in the JavaScript code with your [connection string](./sdk-connection-string.md) copied to the clipboard.
124124

125+
The `connectionString` format must follow "InstrumentationKey=xxxx;....". If the string provided does not meet this format, the SDK load process fails.
126+
125127
The connection string isn't considered a security token or key. For more information, see [Do new Azure regions require the use of connection strings?](./sdk-connection-string.md#do-new-azure-regions-require-the-use-of-connection-strings).
126128

127129
### (Optional) Add SDK configuration

0 commit comments

Comments
 (0)