Commit 7414a2c6 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

fixpauls

parent a8f61d9d
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -85,8 +85,8 @@ Valid keys for these events are:

These events allow you the set a picture and display name for a visitor / user. They
require a `_session` key to identify a particular user session (FnordMetric allows
you to track what a specific user is doing, more about that in Sessions FIXPAUL). The
picture and name are displayed e.g. in the "Active Users" Plugin (FIXPAUL)
you to track what a specific user is doing). The picture and name are displayed e.g.
in the [Active Users Plugin](/documentation/classic_plugins)

    // track a pageview
    { "_type": "_pageview", "url": "/blob/my_super_seo_article", "_session": "mysessiontoken" }
@@ -129,8 +129,7 @@ custom, this is just an example):

We tell FnordMetric what to do with this event by writing an event handler: (FnordMetric
uses the `_type` key to lookup theevent handler). There a are a few DSL methods like `data`
and `incr` that we can use to access the event data and mofiy gauges. More info about that
in the Reference FIXPAUL.
and `incr` that we can use to access the event data and mofiy gauges (more about that below).

    event :login do
      puts "user #{data[:user_name]} logged in"
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ the schema. A event may look like this:


This page describes how to send these events to FnordMetric. To read more
about the semantics of the events please see Events and Gauges (FIXPAUL)
about the semantics of the events please see [Events and Gauges](/documentation/classic_event_handlers)

You can choose between a variety of ways to submit these events to FnordMetric:

+1 −2
Original line number Diff line number Diff line
@@ -10,8 +10,7 @@ by including a JavaScript library and using data-* attributes on html
elements to declare the widgets.

The javascript library `fnordmetric-ui.js` is bundled with FnordMetric
Classic and FnordMetric Enterprise, but you can download a copy here (FIXPAUL)
if you want to include it in your project.
Classic and FnordMetric Enterprise, but you can [download a copy here](http://github.com/paulasmuth/fnordmetric/tree/master/fnordmetric-ui) if you want to include it in your project.

FnordMetric UI requires jQuery 1.6.2+

+1 −2
Original line number Diff line number Diff line
@@ -10,8 +10,7 @@ by including a JavaScript library and using data-* attributes on html
elements to declare the widgets.

The javascript library `fnordmetric-ui.js` is bundled with FnordMetric
Classic and FnordMetric Enterprise, but you can download a copy here (FIXPAUL)
if you want to include it in your project.
Classic and FnordMetric Enterprise, but you can [download a copy here](http://github.com/paulasmuth/fnordmetric/tree/master/fnordmetric-ui) if you want to include it in your project.

FnordMetric UI requires jQuery 1.6.2+. We set up the basic HTML structure (this
assumes you have either FnordMetric Classic or FnordMetric Enterprise running