关于Java Client API以访问Azure Monitor Metrics [英] Regarding Java Client API to access Azure Monitor Metrics

查看:152
本文介绍了关于Java Client API以访问Azure Monitor Metrics的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

推荐答案

Hello Kalpa,

Hello Kalpa,

感谢您的光临!

看起来您的意思是按资源类型检索多个资源的指标(在这种情况下为VM)。

It looks like you're meaning to retrieve metrics for multiple resources by resource type (VMs, in this case).

我们有  列表指标REST API 在Azure监视器中,但它仅通过其 resourceUri获取特定资源
的度量标准值。

We have the List Metrics REST API within Azure Monitor, but that fetches metric values only for a specific resource by its resourceUri.

如果要求是,则根据多个资源的指标提醒(通过电子邮件说),您现在可以创建一个
指标提醒,它跨越
相同区域中的多个资源
,意思是,您将能够设置一个单个指标警报规则来监控:

That being said, if the requirement is to be alerted (via email, say) based on metrics for multiple resources, you can now create a Metric Alert that spans across multiple resources in the same region, meaning, you will be able to set up a single metric alert rule that monitors:


  • 虚拟机列表在一个Azure区域中
  • 所有虚拟机在一个o中一个Azure区域中的更多资源组
  • 一个Azure区域中订阅中的所有虚拟机

请检查
此博客文章
,提供有关利用此新功能及其优点的更多详细信息。如果您有疑问,请随时回复!

Please check this blog post that gives more detail about leveraging this new feature and its benefits. Feel free to revert if you have queries!


这篇关于关于Java Client API以访问Azure Monitor Metrics的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆