.NET Aspire 为我们提供了跟踪和指标。但Azure Application Insights也有跟踪和指标。那么.Net Aspire 的优势在哪里呢? .NET Aspire 的跟踪和指标旨在在本地主机上使用,而 Application Insights 的跟踪和指标旨在用于生产?
Aspire 是一个用于编排云原生应用程序的框架。它使用 OpenTelemetry 向仪表板提供跟踪和指标。
Application Insights 是跟踪和指标的目的地。 OpenTelemetry 是将它们发送到 Application Insights 的一种方法。
在生产中,人们不会使用 Aspire 仪表板来获取跟踪和指标,而是宁愿将它们发送到 Application Insights 等服务。
因此,Aspire Dashboard 提供了 Application Insights 的一些服务,但它只是一个开发工具。 Aspire 提供了许多与遥测、跟踪或指标无关的其他功能。