GithubHelp home page GithubHelp logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
The stats system itself is getting a major overhaul, as is the graphing system. 
 I'll use this ticket to track those.

Original comment by [email protected] on 24 Jul 2012 at 1:43

  • Changed state: Accepted

from enterprise-log-search-and-archive.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Found the issue with blank graphs:  When it queries the stats table, if there 
aren't any results for a period of time within the query (We had our server 
offline for a few days, so there were no entries between the 26th and 29th) 
your query will return null values.  By redefining the query's starting time in 
stats.js to give results from a narrower time frame (using 'iStart = 
Math.round(oDate.getTime() / 1000) - (3600 * 24 * .2);' worked for me), the 
query returned no null results and the graphs displayed fine.

I'm not sure how you grab your information, but if you just have something to 
handle the null values everything should work.

Original comment by [email protected] on 30 Jul 2012 at 9:42

from enterprise-log-search-and-archive.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Example result from 'http:\\ELSA/Query/get_stats?start=2012-07-24 
16:36:19&end=2012-07-30 16:36:19':

"data" : {
               "LogsPerSec" : [
                  "68.3031821133686",
                  "35.141081202868",
                  "10.0462539594184",
                  null,
                  null,
                  "26.4058420473672",

...

               ],
               "x" : [
                  "2012-07-26 07:48:27",
                  "2012-07-26 09:54:28",
                  "2012-07-26 10:57:29",
                  null,
                  null,
                  "2012-07-26 14:15:18",

...
               ],

Original comment by [email protected] on 30 Jul 2012 at 9:44

from enterprise-log-search-and-archive.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
That's helpful, thanks.  I'll incorporate that error checking in the new stats 
system as it's being developed.

Original comment by [email protected] on 31 Jul 2012 at 2:15

from enterprise-log-search-and-archive.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
This should be fixed with the new stats system.

Original comment by [email protected] on 29 Nov 2012 at 10:35

  • Changed state: Fixed

from enterprise-log-search-and-archive.

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.