I've finally deployed fnordmetric to our server. After playing around, I started noticing the following behaviour:
When I'm on the "Gauge Explorer" and I select one of the gauges it works fine initially. But, as soon as I select another time range, it starts getting weird.
goto: [scope]#gauge_explorer
select a time range from "recent data" (tested it with 24h and 48h, the more you click the worse it gets)
select the gauge
As bonus step: reload the page
This causes the following symptoms
the ruby process is close to 100% CPU
the ruby process gains more and more memory
sometimes I had to force kill the ruby process
redis is at ~ 10% CPU
page reload takes ages
when it finally reloads, lots of exception are logged:
[13-02-28 16:34:26] [ERROR] reactor crashed: stack level too deep
/path/to/bundle/ruby/1.9.1/gems/fnordmetric-1.2.6/lib/fnordmetric/gauge_calculations.rb:44
I've finally deployed fnordmetric to our server. After playing around, I started noticing the following behaviour:
When I'm on the "Gauge Explorer" and I select one of the gauges it works fine initially. But, as soon as I select another time range, it starts getting weird.
This causes the following symptoms
The gauge:
Am I doing something completely wrong?