微服务监控:挑战与策略
1. 准备工作
在开始微服务监控之前,需要完成以下准备:
- 安装 .NET Core 3.1 :若未安装,可从 https://dotnet.microsoft.com/download/dotnet-core/3.1 下载。
- 拥有有效的 Azure 账户 :需要 Azure 门户的登录凭据。若没有,可在 https://azure.microsoft.com/free/ 免费创建。
- 获取完整源代码 :可从 https://github.com/PacktPublishing/Hands-On-Microservices-with-CSharp-8-and-.NET-Core-3-Third-Edition/tree/master/Chapter%2007 获取。
2. 监控基础:仪表化与遥测
监控解决方案依赖于仪表化和遥测。