关于自定义指标应用见解
我有一个场景,我通过应用程序获取自定义指标。我想根据阈值和一周中的几天创建警报。有什么方法可以将元数据集成到某些存储中并基于此比较指标?例如,我的应用程序中有消息计数指标,如果周一消息计数少于 100 条或超过 200 条,我应该收到警报。它随星期几而变化。我必须监控近 250 个自定义指标。
我尝试在日志分析中实现自定义日志,但我遇到了一个挑战,如果我想更改阈值,那么我需要删除自定义表并重新创建它。
I have a scenario where I'm getting custom metrics thru an application. I want to create alerts based on thresholds and days of the week. Is there any way I can integrate the metadata in some storage and compare the metrics based on that? For example, I have message count metrics in the application, and if on Monday the message count is less than 100 or more than 200 I should get an alert. It varies on the day of the week. I have to monitor almost 250 custom metrics.
I tried implementing custom logs in Log analytics but I have a challenge in case if I want to change the thresholds then I need to drop the custom table and recreate it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
谢谢 AnuragSingh-MSFT |微软文档。将您的建议作为答案发布以帮助其他社区成员。
参考:关于自定义指标应用程序见解 - Microsoft 问答
Thank you AnuragSingh-MSFT | Microsoft Docs. Posting your suggestion as an answer to help other community members.
Reference: Regarding custom metrics application insights - Microsoft Q&A