Technical requirements
With this chapter, as with the previous chapters, you need an Azure subscription and Docker Desktop. To create all the Azure resources for the solution, you can use the Azure Developer CLI – azd up
creates all the resources. Check the README file of this chapter in the repository for details.
The code for this chapter can be found in this GitHub repository: https://github.com/PacktPublishing/Pragmatic-Microservices-with-CSharp-and-Azure/.
In the ch11
folder, you’ll see these projects with the result of this chapter. This chapter adds the Prometheus launch profile with the launchsettings.json
file of the AppHost
project. This also sets the ASPNETCORE_ENVIRONMENT
and DOTNETCORE_ENVIRONMENT
environment variables to Prometheus
. The default launch profile uses services running with Microsoft Azure. The Prometheus launch profile is used to run Prometheus and Grafana, which can be used easily in an on-premises environment.
These are the important...