Giter Club home page Giter Club logo

Comments (2)

jpatapoff avatar jpatapoff commented on July 23, 2024

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.

g76r avatar g76r commented on July 23, 2024

@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)

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.