Giter Site home page Giter Site logo

Comments (4)

LittleShrimp1987 avatar LittleShrimp1987 commented on May 18, 2024

这种建议每个桶拆成一个监控,而不是用一个监控来监控所有桶

from frostmourne.

likaijames avatar likaijames commented on May 18, 2024

非常感谢你的回复。不过我现在遇到的问题是:桶是动态的,不确定的。因此没法针对固定的桶做监控。
比如我面对的场景:监控所有用户的某个系统的认证日志,在一定期间内某个用户的认证失败次数达到某个阈值,就进行告警。
针对上面这个场景,不知道你有什么好的建议方案么?期待你的回复,谢谢!

from frostmourne.

LittleShrimp1987 avatar LittleShrimp1987 commented on May 18, 2024

用http监控试一下: https://github.com/AutohomeCorp/frostmourne/blob/master/doc/wiki/http-alarm.md 按user 做terms aggregation,取topN,用top1的value做为表达式判断条件: bucket[0].value > 3, 还可以用kibana做一个图表,以短链接的形式放到报警消息里,虽然只报出来是top1的问题,但是打开图表里可以看到更多详细的内容

from frostmourne.

LittleShrimp1987 avatar LittleShrimp1987 commented on May 18, 2024

已经在0.6.2版本支持分组统计

from frostmourne.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.