Skip to content

Commit 005dad8

Browse files
committed
Fixing links, adjusting heading levels
1 parent 72831e9 commit 005dad8

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -128,44 +128,44 @@ Source map support helps you debug minified JavaScript code with the ability to
128128

129129
Application Insights supports the uploading of source maps to your Azure Storage account blob container. You can use source maps to unminify call stacks found on the **End-to-end transaction details** page. You can also use source maps to unminify any exception sent by the [JavaScript SDK][ApplicationInsights-JS] or the [Node.js SDK][ApplicationInsights-Node.js].
130130

131-
![Screenshot that shows selecting the option to unminify a call stack by linking with a storage account.](./media/source-map-support/details-unminify.gif)
131+
![Screenshot that shows selecting the option to unminify a call stack by linking with a storage account.](./media/javascript-sdk-configuration/details-unminify.gif)
132132

133-
## Create a new storage account and blob container
133+
#### Create a new storage account and blob container
134134

135135
If you already have an existing storage account or blob container, you can skip this step.
136136

137137
1. [Create a new storage account][create storage account].
138138
1. [Create a blob container][create blob container] inside your storage account. Set **Public access level** to **Private** to ensure that your source maps aren't publicly accessible.
139139

140140
> [!div class="mx-imgBorder"]
141-
>![Screenshot that shows setting the container access level to Private.](./media/source-map-support/container-access-level.png)
141+
>![Screenshot that shows setting the container access level to Private.](./media/javascript-sdk-configuration/container-access-level.png)
142142
143-
## Push your source maps to your blob container
143+
#### Push your source maps to your blob container
144144

145145
Integrate your continuous deployment pipeline with your storage account by configuring it to automatically upload your source maps to the configured blob container.
146146

147147
You can upload source maps to your Azure Blob Storage container with the same folder structure they were compiled and deployed with. A common use case is to prefix a deployment folder with its version, for example, `1.2.3/static/js/main.js`. When you unminify via an Azure blob container called `sourcemaps`, the pipeline tries to fetch a source map located at `sourcemaps/1.2.3/static/js/main.js.map`.
148148

149-
### Upload source maps via Azure Pipelines (recommended)
149+
##### Upload source maps via Azure Pipelines (recommended)
150150

151151
If you're using Azure Pipelines to continuously build and deploy your application, add an [Azure file copy][azure file copy] task to your pipeline to automatically upload your source maps.
152152

153153
> [!div class="mx-imgBorder"]
154-
> ![Screenshot that shows adding an Azure file copy task to your pipeline to upload your source maps to Azure Blob Storage.](./media/source-map-support/azure-file-copy.png)
154+
> ![Screenshot that shows adding an Azure file copy task to your pipeline to upload your source maps to Azure Blob Storage.](./media/javascript-sdk-configuration/azure-file-copy.png)
155155
156-
## Configure your Application Insights resource with a source map storage account
156+
#### Configure your Application Insights resource with a source map storage account
157157

158158
You have two options for configuring your Application Insights resource with a source map storage account.
159159

160-
### End-to-end transaction details tab
160+
##### End-to-end transaction details tab
161161

162162
From the **End-to-end transaction details** tab, select **Unminify**. Configure your resource if it's unconfigured.
163163

164164
1. In the Azure portal, view the details of an exception that's minified.
165165
1. Select **Unminify**.
166166
1. If your resource isn't configured, configure it.
167167

168-
### Properties tab
168+
##### Properties tab
169169

170170
To configure or change the storage account or blob container that's linked to your Application Insights resource:
171171

@@ -175,20 +175,20 @@ To configure or change the storage account or blob container that's linked to yo
175175
1. Select **Apply**.
176176

177177
> [!div class="mx-imgBorder"]
178-
> ![Screenshot that shows reconfiguring your selected Azure blob container on the Properties pane.](./media/source-map-support/reconfigure.png)
178+
> ![Screenshot that shows reconfiguring your selected Azure blob container on the Properties pane.](./media/javascript-sdk-configuration/reconfigure.png)
179179
180-
## Troubleshooting
180+
#### Troubleshooting
181181

182182
This section offers troubleshooting tips for common issues.
183183

184-
### Required Azure role-based access control settings on your blob container
184+
##### Required Azure role-based access control settings on your blob container
185185

186186
Any user on the portal who uses this feature must be assigned at least as a [Storage Blob Data Reader][storage blob data reader] to your blob container. Assign this role to anyone who might use the source maps through this feature.
187187

188188
> [!NOTE]
189189
> Depending on how the container was created, this role might not have been automatically assigned to you or your team.
190190
191-
### Source map not found
191+
##### Source map not found
192192

193193
1. Verify that the corresponding source map is uploaded to the correct blob container.
194194
1. Verify that the source map file is named after the JavaScript file it maps to and uses the suffix `.map`.

0 commit comments

Comments
 (0)