From borising at gmail.com Fri Feb 21 21:15:15 2014 From: borising at gmail.com (Bo Agerskov Rising) Date: Fri, 21 Feb 2014 22:15:15 +0100 Subject: [Reconnoiter-devel] counter_dev Message-ID: <5307C1E3.5080300@gmail.com> Hi guys, I was wondering whats the idea behind the counter_dev field, when you question the stratcon.fetch_dataset function? I can't really find any uuid's that uses this field yet, neither any really good explanations in the code that explains it in plain layman terms :) Also I am working on making a summarizing function in the UI, which would sum the values of a metric hourly, weekly and so forth, and was wondering which fields in the DB schema that I would use for that? Regards, Bo From jesus at omniti.com Fri Feb 21 22:51:02 2014 From: jesus at omniti.com (Theo Schlossnagle) Date: Fri, 21 Feb 2014 14:51:02 -0800 Subject: [Reconnoiter-devel] counter_dev In-Reply-To: <5307C1E3.5080300@gmail.com> References: <5307C1E3.5080300@gmail.com> Message-ID: IIRC, counter_dev should be the standard deviation of counter calculations. There are already rollups in the database. If you were to write custom aggregations funtions you'd need to write those yourself in PL/pgsql to run over the arrays in those tables. (summing or whatever). On Fri, Feb 21, 2014 at 1:15 PM, Bo Agerskov Rising wrote: > Hi guys, > > I was wondering whats the idea behind the counter_dev field, when you > question the stratcon.fetch_dataset function? I can't really find any > uuid's that uses this field yet, neither any really good explanations in > the code that explains it in plain layman terms :) > > Also I am working on making a summarizing function in the UI, which > would sum the values of a metric hourly, weekly and so forth, and was > wondering which fields in the DB schema that I would use for that? > > Regards, > Bo > _______________________________________________ > Reconnoiter-devel mailing list > Reconnoiter-devel at lists.omniti.com > http://lists.omniti.com/mailman/listinfo/reconnoiter-devel > -- Theo Schlossnagle http://omniti.com/is/theo-schlossnagle -------------- next part -------------- An HTML attachment was scrubbed... URL: From borising at gmail.com Sun Feb 23 10:25:29 2014 From: borising at gmail.com (Bo Agerskov Rising) Date: Sun, 23 Feb 2014 11:25:29 +0100 Subject: [Reconnoiter-devel] counter_dev In-Reply-To: References: <5307C1E3.5080300@gmail.com> Message-ID: <5309CC99.5000404@gmail.com> Hi Theo, Thanks for the explanation of the counter_dev field. In which situations, would I expect data in this field? Regards, Bo Theo Schlossnagle wrote: > IIRC, counter_dev should be the standard deviation of counter calculations. > > There are already rollups in the database. If you were to write custom > aggregations funtions you'd need to write those yourself in PL/pgsql to > run over the arrays in those tables. (summing or whatever). > > > On Fri, Feb 21, 2014 at 1:15 PM, Bo Agerskov Rising > wrote: > > Hi guys, > > I was wondering whats the idea behind the counter_dev field, when you > question the stratcon.fetch_dataset function? I can't really find any > uuid's that uses this field yet, neither any really good explanations in > the code that explains it in plain layman terms :) > > Also I am working on making a summarizing function in the UI, which > would sum the values of a metric hourly, weekly and so forth, and was > wondering which fields in the DB schema that I would use for that? > > Regards, > Bo > _______________________________________________ > Reconnoiter-devel mailing list > Reconnoiter-devel at lists.omniti.com > > http://lists.omniti.com/mailman/listinfo/reconnoiter-devel > > > > > -- > > Theo Schlossnagle > > http://omniti.com/is/theo-schlossnagle > From jesus at omniti.com Sun Feb 23 13:47:54 2014 From: jesus at omniti.com (Theo Schlossnagle) Date: Sun, 23 Feb 2014 05:47:54 -0800 Subject: [Reconnoiter-devel] counter_dev In-Reply-To: <5309CC99.5000404@gmail.com> References: <5307C1E3.5080300@gmail.com> <5309CC99.5000404@gmail.com> Message-ID: Any time the counter field varies over time you should see a deviation over a containing time window) that is non-zero. e.g. if you looking in the 5m tables and see counters changing, you should see a non-zero deviation in the 20m table. If you're seeing zeros everywhere, something is wrong -- maybe the code is broken. On Sun, Feb 23, 2014 at 2:25 AM, Bo Agerskov Rising wrote: > Hi Theo, > > Thanks for the explanation of the counter_dev field. > > In which situations, would I expect data in this field? > > Regards, > Bo > > Theo Schlossnagle wrote: > > IIRC, counter_dev should be the standard deviation of counter > calculations. > > > > There are already rollups in the database. If you were to write custom > > aggregations funtions you'd need to write those yourself in PL/pgsql to > > run over the arrays in those tables. (summing or whatever). > > > > > > On Fri, Feb 21, 2014 at 1:15 PM, Bo Agerskov Rising > > wrote: > > > > Hi guys, > > > > I was wondering whats the idea behind the counter_dev field, when you > > question the stratcon.fetch_dataset function? I can't really find any > > uuid's that uses this field yet, neither any really good > explanations in > > the code that explains it in plain layman terms :) > > > > Also I am working on making a summarizing function in the UI, which > > would sum the values of a metric hourly, weekly and so forth, and was > > wondering which fields in the DB schema that I would use for that? > > > > Regards, > > Bo > > _______________________________________________ > > Reconnoiter-devel mailing list > > Reconnoiter-devel at lists.omniti.com > > > > http://lists.omniti.com/mailman/listinfo/reconnoiter-devel > > > > > > > > > > -- > > > > Theo Schlossnagle > > > > http://omniti.com/is/theo-schlossnagle > > > -- Theo Schlossnagle http://omniti.com/is/theo-schlossnagle -------------- next part -------------- An HTML attachment was scrubbed... URL: