Prometheus& Grafana-不使用Azure监视工具,监视或刮擦Azure应用程序服务的指标
是否可以直接将Azure App Services与Prometheus集成。我们需要刮擦Azure应用程序服务中托管的应用程序/设备的指标。 我们可以启用App Insight或Azure监视工具,并直接将其与Grafana集成,但在这里我们要通过Azure Monitoring工具进行。
Azure App Service是PAAS,我们无法直接安装任何Prometheus代理。我想知道,是否有一些方法可以从这些设备/框中收集指标来监视系统的健康状况。
任何建议/解决方案都将很高兴知道。
Is there way to integrate azure app services with the Prometheus directly. We need to scrape the metrics of applications/devices hosted in the azure app service.
We can enable the app insight or azure monitoring tool and integrate them with the Grafana directly but here we want to by pass the azure monitoring tools.
Azure app service is paas and there is no way we can install any Prometheus agents directly. I wonder, if there are some ways to collect the metrics from those devices/box to monitor the health of the system.
Any suggestions/solutions would be great to know.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的应用程序是Azure的负载平衡器后面吗?从普罗米修斯的角度来看,这不是理想的选择。它旨在直接访问该实例。
我看到的方式有2个选项。
无论哪种方式,您都需要将Prometheus Endpoint展示。您可能需要考虑这一点。
Is your app behind a load balancer in azure? If yes this isn't ideal from a Prometheus perspective. Its designed to have access to the instance directly.
The way I see it you have 2 options.
Either way you will need to expose a Prometheus endpoint that can be written to. Which may be something you'll need to consider.