Comments (2)
In the branch I'm working on, I use Graphite's movingAverage function to smooth out the data. I use the Check's sample size to plug into the movingAverage's 'number of data points' argument and threw out Tattles calculation of the average. I instead use the last data point that is returned in the JSON object (which has the movingAverage built into the results) when I call getData and compare it against the threshold to determine the status of the Check. (The only downside to this is I can't use median as the baseline anymore)
In one of my cases, I have a chron job I track in Graphite that runs every 30 minutes, where each time the job should run against approximately 1/3 of my user base. (I therefore have approximately 29 out of 30 data points that are returned as 0) I use a sample size of 90 that smooths out my data pretty well. Even with the movingAverage smoothing out the data on a 90 minute basis, I get alerted when 'all the values are null' usually within the hour. Overall, I disagree that 'we should probably ignore nulls' just because the data isn't there. The data is still a representation of events that are (not) occurring, and should be accounted for as such.
from tattle.
@ssandler I don't think that Tattle should ignore nulls in every case, maybe it could be a checkbox or whatever option, if you wan't to do such a pull request, but anyway graphite's transformNull() function can do the job as well (see http://graphite.readthedocs.org/en/latest/functions.html#graphite.render.functions.transformNull)
from tattle.
Related Issues (20)
- Add ability for a check to only occur during certain times of the day. HOT 3
- PHP Fatal error: Call to a member function tossIfNoRows() HOT 5
- Remove the moving-average requirement. HOT 3
- It is possible to set someone's password to an empty string. HOT 1
- Special handling for nulls at the very end of a metric. HOT 3
- The movingAverage function operates on samples, not minutes. HOT 4
- Brief errors are not triggering notifications. HOT 8
- targets with " won't alert HOT 1
- Running Tattle HOT 1
- bootstrap update HOT 2
- Introducing a way to reorder graphs HOT 2
- A button to "test email settings" would be great HOT 3
- Split the 'Samples' setting HOT 3
- Best practice to implement processor.php cron job? HOT 2
- false positive threshold alerts with complex targets HOT 3
- Error while trying to run HOT 2
- time offset for checks HOT 6
- need an update sql script from v1.0.0 to v1.1.0 before releasing v1.1.0 HOT 1
- non-ascii characters in most fields (dashboard titles, line labels...) cause broken graphs HOT 1
- double quotes in graphite targets are not supported and the user is not warned in any way
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 tattle.