Commit bb54efdf authored by Paul Asmuth's avatar Paul Asmuth
Browse files

minor fixes

parent 5d591c64
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ Metric::Metric(
    max_generation_(0),
    live_table_max_size_(kLiveTableMaxSize),
    live_table_idle_time_micros_(kLiveTableIdleTimeMicros),
    last_insert_(0) {}
    last_insert_(fnord::util::WallClock::unixMicros()) {} // FIXPAUL

Metric::Metric(
    const std::string& key,
@@ -43,7 +43,7 @@ Metric::Metric(
    file_repo_(file_repo),
    live_table_max_size_(kLiveTableMaxSize),
    live_table_idle_time_micros_(kLiveTableIdleTimeMicros),
    last_insert_(0) {
    last_insert_(fnord::util::WallClock::unixMicros()) { // FIXPAUL
  TableRef* head_table = nullptr;
  std::vector<uint64_t> generations;

+4 −6
Original line number Diff line number Diff line

[ doc ]
    - frontapge: gif
    - html5 api references
    - FM legt die timestamps der samples _immer_ selbst bei dateneingang fest?
    - pictures in getting started server
@@ -10,16 +9,13 @@

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

[ release ]
    - ga js
    - median
    - last insert should not be zero!
    - svg: escape series names, labels!
    - fix mean

-----

@@ -100,11 +96,13 @@
    - report with markdown + chartsql

[ bug q ]
    - svg: escape series names, labels!
    - multiple unnamed select/series should not be merged
    - bug: NAN is not a valid value in SVG
    - SELECT count(*) AS row_count FROM `/osx/load_avg_5m`; --- does not return col name
    - bug: line chart with only negative values
    - bug: 2d area chart with explicit y domain, min > 0
    - proper last insert on restart

[ refactor q ]
    - refactor nextRow(SValue* row, size_t len) -> nextRow(RowType) (std::vector<SValue>)
+0 −1
Original line number Diff line number Diff line
@@ -32,7 +32,6 @@
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();

    </script>
  </body>
</html>
+4 −1
Original line number Diff line number Diff line
@@ -223,8 +223,11 @@ FnordMetric.views.QueryPlayground = function() {
        "" : query_params.innerViewValue;
    }
    renderEditorView(current_view, editor_pane, result_pane, query);
  }

    window.attachEvent('onresize', function() {
      updateLayout()
    });
  }

  function destroy() {

+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
      FnordMetric.WebUI.singleton.addView("query_playground", FnordMetric.views.QueryPlayground);

      /* initialize the main menu */
      FnordMetric.WebUI.singleton.addMenuItem("<i class='fa fa-gears'></i> Settings", "settings", "right");
      //FnordMetric.WebUI.singleton.addMenuItem("<i class='fa fa-gears'></i> Settings", "settings", "right");
      FnordMetric.WebUI.singleton.addMenuItem("<i class='fa fa-file'></i> New Query", "query_playground", "smallpadding");
      FnordMetric.WebUI.singleton.addMenuItem("<i class='fa fa-area-chart'></i> Metrics", "metric_list");
      FnordMetric.WebUI.singleton.addSearchBar();