Skip to content

Commit 6a25302

Browse files
committed
screenshots
1 parent 97ffaad commit 6a25302

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

articles/azure-monitor/app/availability-azure-functions.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ This article will cover how to create an Azure Function with TrackAvailability()
3939

4040
Copy the code below into the run.csx file (this will replace the pre-existing code). To do this, go into your Azure Functions application and select your timer trigger function on the left.
4141

42-
[!div class="mx-imgBorder"]
43-
![Azure function's run.csx in Azure portal](media/availability-azure-functions/runcsx.png)
42+
>[!div class="mx-imgBorder"]
43+
>![Azure function's run.csx in Azure portal](media/availability-azure-functions/runcsx.png)
4444
4545
> [!NOTE]
4646
> For the Endpoint Address you would use: `EndpointAddress= https://dc.services.visualstudio.com/v2/track`. Unless your resource is located in a region like Azure Government or Azure China in which case consult this article on [overriding the default endpoints](https://docs.microsoft.com/azure/azure-monitor/app/custom-endpoints#regions-that-require-endpoint-modification) and select the appropriate Telemetry Channel endpoint for your region.
@@ -139,8 +139,8 @@ On the right under view files, select **Add**. Call the new file **function.proj
139139

140140
```
141141

142-
[!div class="mx-imgBorder"]
143-
![On the right select, add. Name the file function.proj](media/availability-azure-functions/addfile.png)
142+
>[!div class="mx-imgBorder"]
143+
>![On the right select, add. Name the file function.proj](media/availability-azure-functions/addfile.png)
144144

145145
On the right under view files, select **Add**. Call the new file **runAvailabilityTest.csx** with the following configuration.
146146

@@ -160,30 +160,30 @@ To make sure everything is working, you can look at the graph in the Availabilit
160160
> [!NOTE]
161161
> If you implemented your own business logic in runAvailabilityTest.csx then you will see successful results like in the screenshots below, if you did not then you will see failed results.
162162
163-
[!div class="mx-imgBorder"]
164-
![Availability tab with successful results](media/availability-azure-functions/availtab.png)
163+
>[!div class="mx-imgBorder"]
164+
>![Availability tab with successful results](media/availability-azure-functions/availtab.png)
165165
166166
When you set up your test using Azure Functions you will notice, that unlike using **Add test** in the Availability tab, the name of your test will not appear and you will not be able to interact with it. The results are visualized but you get a summary view instead of the same detailed view you get when you create an availability test via the portal.
167167

168168
To see the end-to-end transaction details, select **Successful** or **Failed** under drill into, then select a sample. You can also get to the end-to-end transaction details by selecting a data point on the graph.
169169

170-
[!div class="mx-imgBorder"]
171-
![Select a sample availability test](media/availability-azure-functions/sample.png)
170+
>[!div class="mx-imgBorder"]
171+
>![Select a sample availability test](media/availability-azure-functions/sample.png)
172172
173-
[!div class="mx-imgBorder"]
174-
![End-to-end transaction details](media/availability-azure-functions/end-to-end.png)
173+
>[!div class="mx-imgBorder"]
174+
>![End-to-end transaction details](media/availability-azure-functions/end-to-end.png)
175175
176176
If you ran everything as is (without adding business logic), then you will see that the test failed.
177177

178178
## Query in Logs (Analytics)
179179

180180
You can use Logs(analytics) to view you availability results, dependencies, and more. To learn more about Logs, visit [Log query overview](../../azure-monitor/log-query/log-query-overview.md).
181181

182-
[!div class="mx-imgBorder"]
183-
![Availability results](media/availability-azure-functions/availabilityresults.png)
182+
>[!div class="mx-imgBorder"]
183+
>![Availability results](media/availability-azure-functions/availabilityresults.png)
184184
185-
[!div class="mx-imgBorder"]
186-
![Dependencies](media/availability-azure-functions/dependencies.png)
185+
>[!div class="mx-imgBorder"]
186+
>![Dependencies](media/availability-azure-functions/dependencies.png)
187187
188188
## Next steps
189189

0 commit comments

Comments
 (0)