Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 grafana 的图形面板中工作,并使用弹性搜索作为数据源。在数据源中,我使用了带有时间戳的内存。我试图在差异超过 100 MB 时发出通知警报。如何查找第一天使用的内存与当天使用的内存之间的内存差异并发送警报通知?
您将设置一个基本上按时间戳分组的查询,并根据您要查找的 100 MB 差异是最大值还是平均值来定义它。假设它是最大值-您的查询将类似于
然后,您将根据查询转到警报选项卡并设置警报,并在 24 小时内区分值