监视事件网格消息传送Monitor Event Grid message delivery

本文介绍如何使用门户查看事件网格主题和订阅的指标,并创建相关警报。This article describes how to use the portal to see metrics for Event Grid topics and subscriptions, and create alerts on them.

重要

有关 Azure 事件网格支持的指标的列表,请参阅指标For a list of metrics supported Azure Event Grid, see Metrics.

查看自定义主题指标View custom topic metrics

如果已发布自定义主题,则可以查看其指标。If you've published a custom topic, you can view the metrics for it.

  1. 登录到 Azure 门户Sign in to Azure portal.

  2. 在主题的搜索栏中,键入“事件网格主题”,然后从下拉列表中选择“事件网格主题” 。In the search bar at the topic, type Event Grid Topics, and then select Event Grid Topics from the drop-down list.

    搜索并选择“事件网格主题”

  3. 从主题列表中选择自定义主题。Select your custom topic from the list of topics.

    选择自定义主题

  4. 在“事件网格主题”页上查看自定义事件主题的指标。View the metrics for the custom event topic on the Event Grid Topic page. 在下图中,展示资源组、订阅等内容的“基本信息”部分已最小化。In the following image, the Essentials section that shows the resource group, subscription etc. is minimized.

    查看事件指标

    可以使用“事件网格主题”页面的“指标”选项卡,创建包含支持的指标的图表。You can create charts with supported metrics by using the Metrics tab of the Event Grid Topic page.

    “主题 - 指标”页

    有关示例,请参阅“已发布事件”指标的指标图表。For example, see the metrics chart for the Published Events metric.

    “已发布事件”指标

查看订阅指标View subscription metrics

  1. 按照上一部分的步骤导航到“事件网格主题”页。Navigate to the Event Grid Topic page by following steps from the previous section.

  2. 从底部窗格中选择订阅,如以下示例所示。Select the subscription from the bottom pane as shown in the following example.

    选择事件订阅

    也可在 Azure 门户的搜索栏中搜索“事件网格订阅”,然后通过选择“主题类型”、“订阅”和“位置”来查看事件订阅。You can also search for Event Grid Subscriptions in the search bar in the Azure portal, select Topic Type, Subscription, and Location to see an event subscription.

    从“事件网格订阅”页选择事件订阅

    对于自定义主题,请选择“事件网格主题”作为 主题类型For custom topics, select Event Grid Topics as Topic Type. 对于系统主题,请选择 Azure 资源的类型,例如“存储帐户(Blob,GPv2)”。For system topics, select the type of the Azure resource, for example, Storage Accounts (Blob, GPv2).

  3. 对于图表中的订阅,请在主页上查看订阅的指标。See the metrics for the subscription on the home page for the subscription in a chart. 可以查看过去 1 小时、6 小时、12 小时、1 天、7 天或 30 天的“常规”、“错误”和“延迟”指标。You can see General, Error, and Latency metrics for past 1 hour, 6 hours, 12 hours, 1 day, 7 days, or 30 days.

    订阅主页上的指标

查看系统主题指标View system topic metrics

  1. 登录到 Azure 门户Sign in to Azure portal.

  2. 在主题的搜索栏中,键入“事件网格系统主题”,然后从下拉列表中选择“事件网格系统主题” 。In the search bar at the topic, type Event Grid System Topics, and then select Event Grid System Topics from the drop-down list.

    搜索并选择“事件网格系统主题”

  3. 从主题列表中选择系统主题。Select your system topic from the list of topics.

    选择系统主题

  4. 在“事件网格系统主题”页上查看系统主题的指标。View the metrics for the system topic on the Event Grid System Topic page. 在下图中,展示资源组、订阅等内容的“基本信息”部分已最小化。In the following image, the Essentials section that shows the resource group, subscription etc. is minimized.

    在概览页上查看系统主题指标

    可以使用“事件网格主题”页面的“指标”选项卡,创建包含支持的指标的图表。You can create charts with supported metrics by using the Metrics tab of the Event Grid Topic page.

    “系统主题 - 指标”页

    重要

    有关 Azure 事件网格支持的指标的列表,请参阅指标For a list of metrics supported Azure Event Grid, see Metrics.

后续步骤Next steps

请参阅以下文章:See the following articles: