GithubHelp home page GithubHelp logo

Comments (5)

nixwiz avatar nixwiz commented on June 16, 2024

Within the past week I added the following.

https://github.com/nixwiz/sensu-go-fatigue-check-filter#arguments

Does this not accomplish what you are looking for?

from sensu-go-fatigue-check-filter.

ichilton avatar ichilton commented on June 16, 2024

Actually, looking at the code, the definition of the method is:

function fatigue_check(event, occurrences, interval) {

So you can actually call the filter as follows to do 2 occurrences:

fatigue_check(event, 2)

Would be good to make this more obvious in the documentation that this is a the way to override some of the defaults (occurrences and interval).

It still would be nice to be able to set annotations to be able to override everything though.

from sensu-go-fatigue-check-filter.

ichilton avatar ichilton commented on June 16, 2024

Snap! - yes, sorry, I just spotted that! - that's great - though it would be useful to be able to do annotations to override everything and be consistent with other assets.

from sensu-go-fatigue-check-filter.

nixwiz avatar nixwiz commented on June 16, 2024

@ichilton is this issue okay to close now?

from sensu-go-fatigue-check-filter.

ichilton avatar ichilton commented on June 16, 2024

Yep, will do!

Thanks.

from sensu-go-fatigue-check-filter.

Related Issues (15)

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.