Commit 558e48a9 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

webm makes firefox happy

parent fb18f7e3
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line

[ doc ]
    - html5 api references
    - FM legt die timestamps der samples _immer_ selbst bei dateneingang fest?
    - pictures in getting started server
    - chart 2d/3d signature doc
    - all the doc links
    - group over doc: GROUP OVER TIMEWINDOW(time_window, step) oder so

[ frontend ]
    - embed popup
    - onunload in query editor
    - hover flyoouts for button bar in sql editor "Refresh, Change View and use CTRL+enter"

[ release ]
@@ -22,6 +19,7 @@
    - how do i set the line color
    - can i use fnordmetric with external data
    - do I need an external database
    - FM legt die timestamps der samples _immer_ selbst bei dateneingang fest?

[ feature q ]
    - compare with yesterday in metric preview widget
+10 −2
Original line number Diff line number Diff line
@@ -5,11 +5,19 @@ Standard SQL makes (moving) window queries over timeseries fairly akward. Since
these kind of time based rollups are very common when working with timeseries data,
FnordMetric introduces a new GROUP OVER TIMEWINDOW clause.

---

The syntax for the GROUP OVER TIMEWINDOW clause is:

    GROUP OVER TIMEWINDOW(time_column, window_expr [, step_expr]) [BY ...]

Where `time\_col` is the column that contains the time for each row, `window\_expr`
is an expression that returns the length of the window in seconds and `step\_expr`
is an expression that returns the output timestep in seconds.

Here is a simple example that should demonstrate the general concept before we
dig into the detailed semantics of the GROUP OVER TIMEWINDOW clause:

---

_Display the moving average of mymetric's value over a moving 60s window_

    SELECT time, mean(value) FROM mymetric GROUP OVER TIMEWINDOW(time, 60);
+804 KiB

File added.

No diff preview for this file type.

+1 −0
Original line number Diff line number Diff line
@@ -110,6 +110,7 @@ padding: 8px 10px;">$ fnordmetric-cli --format=svg my_chart_sql_query.sql</code
    <div style="width:960px; margin:50px auto 40px auto; height:583px; overflow: hidden;" class="shadow">
      <video width="960" height="583" autoplay="autoplay" loop>
        <source src="/fnordmetric-server.mp4" type="video/mp4">
        <source src="/fnordmetric-server.webm" type="video/webm">
        <img src="/img/fnordmetric_server_screen.png" width="875" />
      </video>
    </div>