在Azure EventHub或Azure功能中为传入数据创建警报

发布于 2025-02-11 04:06:38 字数 151 浏览 1 评论 0原文

我想创建一个警报,如果在过去6小时内未收到EventHubs(或Azure功能)的特定数据(例如:我将每天收到学生的信息到我的EventHubs,如果我没有收到有关sut剂的信息= 1然后发送警报)。我能够为例外,总数创建警报,但不确定如何查询传入的数据,并且我确实将消息保留设置为7天。

I would like to create an alert if specific data is not received to the eventhubs (or azure functions) in the past 6 hours(eg: I will be receiving student information to my eventhubs everyday and today If I don't receive information about studentId=1 then send an alert about that). I was able to create alerts for exceptions, total counts but not sure how to query the incoming data and I do have message retention set to 7 days.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

淡淡の花香 2025-02-18 04:06:38

Afaik,目前没有功能可以在 Azure Alert 中读取特定传入消息。

Azure警报只能读取指标,只有我们无法比较或读取特定的传入/发出消息。

如果要读取/比较EventHub的传入消息,您是否必须使用 python脚本/azure函数/逻辑应用程序 > studentId 是否存在在传入的消息中。

参考

AFAIK, currently there is no feature to read the specific incoming messages in an Azure Alert.

Azure Alert can read the metrics only we cannot compare or read a specific incoming/outgoing message.

If you want to Read/ Compare the incoming messages from eventhub either you have to use the Python script/Azure Function/Logic App to Validate/Compare whether the studentID is present in a incoming messages or not.

Reference

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文