Open bf4 opened 10 years ago
Comment by masone
Wednesday Aug 21, 2013 at 18:01 GMT
Timeline widgets cannot display data from three dimensional gauges. Only bars and toplist can. See http://fnordmetric.io/documentation/classic_widgets/
Comment by JangoSteve
Wednesday Aug 21, 2013 at 18:16 GMT
So, I guess this becomes a feature request then, as it would seem it's impossible with the current functionality to have a timeline widget with multiple series.
Comment by masone
Wednesday Aug 21, 2013 at 18:23 GMT
The timeline widget already has a third dimension: The time. So the feature you are looking for is not available by design.
Comment by JangoSteve
Wednesday Aug 21, 2013 at 18:42 GMT
@masone Correct. It's just confusing because the timeline widget has a legend. If it's by design, then there shouldn't be a legend with a series color indicator, because the legend would simply be the title of the graph.
It was also surprising given that the a multiple-series timeseries gauge is available via the Classic Dashboard (and is in fact shown in the main screenshot on the Fnordmetric homepage, it's just not available or even possible via the UI library (I'm guessing because the UI library is still a work in progress).
Comment by JangoSteve
Wednesday Aug 21, 2013 at 18:49 GMT
By the way, I think the primary issue is that the new timeseries_gauge
helper is great, there just seems to be no way to get that gauge/graph working using the Fnordmetric UI library, as it only seems to have counter
and a very basic timeseries
(with no support for series) widget types implemented. I.e. it's possible in the Fnordmetric dashboard, but not in the UI library.
Comment by masone
Wednesday Aug 21, 2013 at 19:00 GMT
Ah, what you're seeing in the main screenshot is a timeline widget that displays multiple gauges. This works well if you have a limited set of things you can create gauges for. This is not applicable to the dynamic pageviews you want to track. I have only been using the classic stuff so I can't really hep with UI. And also found that the helpers are cool but limited.
Comment by JangoSteve
Wednesday Aug 21, 2013 at 19:39 GMT
Yeah, I've come to understand that after going through all the source code for fnordmetric-core and fnordmetric-ui.
I think the part that was confusing was simply the fact that the timeline UI widget has a legend, which implies that there's some way to use it, when in fact the legend could never have more than one series (thus rendering the legend both useless and misleading). I'm guessing this is due to the default configuration of the graphing library having the ability to show data that Fnordmetric has no way of storing.
Following the pageviews example from the Classic Full Example, the logging and everything seems to work, if I look directly in Redis, but none of the gauges work for the three-dimensional per-URL pageview gauge.
The server:
What's in Redis:
What the gauge looks like in the Dashboard:
What the HTML5 Fnordmetric UI gauge looks like:
I would expect the gauges to print out the different Values in the legend, similarly to the series in the new-DSL-style
timeseries_gauge
. But that doesn't happen.