title | description | author | ms.author | ms.date | ms.service | ms.topic | ms.custom |
---|---|---|---|---|---|---|---|
Monitor your app using Azure Developer CLI |
Learn how to use Azure Developer CLI (azd) to monitor your app health. |
alexwolfmsft |
alexwolf |
12/11/2022 |
azure-dev-cli |
how-to |
devx-track-azdevcli, build-2023 |
In this article, you learn how to use Azure Developer CLI (azd
) to monitor your app health.
While we use the React Web App with Node.js API and MongoDB on Azure template for this guide, you can use any of the Azure Developer CLI templates.
Note
The azd monitor
command is still in beta. Read more about alpha and beta feature support on the feature versioning and release strategy page.
Create monitoring activity in the app before running the azd monitor
commands:
-
Open the ToDo app in your preferred code editor.
-
Create a new list and add a couple of items.
To help with monitoring apps, azd
provides a monitor
command whose parameters launch various Application Insights dashboards. Run any of the following commands in the project directory to monitor app health:
Application Insights dashboard | Command |
---|---|
Main dashboard | azd monitor --overview |
Live metrics dashboard | azd monitor --live |
Logs dashboard | azd monitor --logs |
When you no longer need the resources created in this article, do the following steps:
azd down
[!INCLUDE request-help]
[!div class="nextstepaction"] Make your project Azure Developer CLI (azd) compatible