gemhome / fnordmetric

(possible new home for) FnordMetric is a redis/ruby-based realtime Event-Tracking app
0 stars 1 forks source link

Fnordmetric dont persist events #72

Open bf4 opened 10 years ago

bf4 commented 10 years ago

Issue by macbury Monday Oct 07, 2013 at 10:13 GMT Originally opened as https://github.com/paulasmuth/fnordmetric/issues/167


FNORD_METRIC = FnordMetric::API.new({
  redis_prefix: AppConfig::FNORDMETRIC_REDIS_PREFIX
})
FNORD_METRIC.event(:_type => :_set_name,    :name => self.current_user.name,            :_session => self.current_user.session_uid)
      FNORD_METRIC.event(:_type => :_pageview,    :url => request.original_url,               :_session => self.current_user.session_uid)
      FNORD_METRIC.event(:_type => :_set_picture, :url => self.current_user.avatar.image_url, :_session => self.current_user.session_uid)

Avatar and username on Active Users are visible until i reload page. After reload it becomes empty