Comments (5)
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.
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.
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.
@ichilton is this issue okay to close now?
from sensu-go-fatigue-check-filter.
Yep, will do!
Thanks.
from sensu-go-fatigue-check-filter.
Related Issues (15)
- Need to properly deal with disparity of check interval and filter check interval
- Filter blocks every message random logs HOT 4
- Update docs to include bonsai integration (sensuctl asset add) in examples
- Feature request: Add support for filtering based on entity annotations HOT 2
- incorrect notification interval HOT 3
- Feature request: Option to change default values HOT 5
- Issues with default parameters HOT 3
- Find a way to test with Otto as well
- Allow alerts which do not repeat HOT 2
- Resolution events not suppressed. HOT 5
- Alert on occurrences only when within a time window HOT 2
- Can't make fatigue filter work with proxy entities HOT 2
- Fix to work with cron scheduled checks HOT 1
- Annotations precedence convention working opposite of sdk
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sensu-go-fatigue-check-filter.