Show
Ignore:
Timestamp:
09/26/08 12:29:24 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1222432164 +0000
git-parent:

[c73b2b53bb74c7e8135888bc652903c9327f7dbd]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1222432164 +0000
Message:

experiment with flot

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ui/web/lib/Reconnoiter_DB.php

    rcbb1d8e r648b048  
    2525  function get_data_for_window($uuid, $name, $start, $end, $expected, $derive) { 
    2626    $type = preg_match('/^\d+$/', $uuid) ? '::integer' : '::uuid'; 
    27     $sth = $this->db->prepare("select * from stratcon.fetch_dataset(? $type,?,?,?,?,?)"); 
     27    $sth = $this->db->prepare("select sid, name, extract(epoch from rollup_time) as rollup_time, count_rows, avg_value from stratcon.fetch_dataset(? $type,?,?,?,?,?)"); 
    2828    $sth->execute(array($uuid,$name,$start,$end,$expected,$derive)); 
    2929    $rv = array();