rezzza / BitterBundle

Implements a powerful analytics Symfony Bundle based on Bitter library using Redis bitmaps
http://bitter.free-agent.fr
MIT License
17 stars 5 forks source link

Add dashboard controller #13

Closed jeremyFreeAgent closed 8 years ago

jeremyFreeAgent commented 11 years ago

The dashboard will display stats about events as follow by default:

And custom stats defined by the app developer like:

stephpy commented 11 years ago

What about keys ? Users should have to define keys to show ?

What do you think about a configuration like that:

rezzza_bitter:
   #....
   dashboard:
       template: ~ #...dashboard.twig
       comparators:
           default:
              - [from: yesterday, to: today]
              - [from: ..., to: ...]
       keys:
           chuck_norris:
               title: 'Chuck norris key'
               comparator: default # applicate array via normalization.
           song:
               title: 'Song key'
               comparator:
                  - [from: "-2 days", to: today]
                  - [from: ..., to: ...]
jeremyFreeAgent commented 11 years ago

Yes I think it's the good way. I'm not sure about the comparator structure, but it's a very good start :yum:

stephpy commented 11 years ago

We could find a better term than comparator too :)

jeremyFreeAgent commented 11 years ago

Yep, but I can't find any good name at this time :(

shouze commented 9 years ago

ping @jeremyFreeAgent @stephpy this is a very old one, should be closed & wontfix no?