Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 3, 2012
  1. Mike Bostock
  2. Mike Bostock

    Update mongodb driver.

    mbostock authored
Commits on Apr 2, 2012
  1. Mike Bostock

    Disable batchSize on metric queries.

    mbostock authored
    As best I can tell, this was causing it to return no more than 1,000 results,
    even though the intent was to paginate after the first 1,000. Fishy.
Commits on Jan 26, 2012
  1. Mike Bostock

    Fix off-by-one (or two) in GET metrics.

    mbostock authored
    Fixes the computation of the expected number of metric values.
Commits on Jan 19, 2012
  1. Mike Bostock

    Merge branch 'fix-error'

    mbostock authored
  2. Mike Bostock

    Use _id for metrics collections.

    mbostock authored
    The metrics collections are capped, so an _id is not required. However, starting
    in MongoDB 2.0, you can no longer perform a multi-update without an object _id,
    which caused metrics invalidation to fail. The fix is relatively simple, since
    the metrics values already had an implicit unique id (expression, level, time
    and optional group key): make the id explicit.
    
    Note that this change is not backwards-compatible!
Commits on Jan 18, 2012
  1. Mike Bostock

    Don't fail silently when a string is thrown.

    mbostock authored
    I'm looking at you, node-mongodb-native. ಠ_ಠ
  2. Mike Bostock

    Merge branch 'metric-get'

    mbostock authored
  3. Mike Bostock
Commits on Jan 13, 2012
  1. Mike Bostock

    Allow HTTP GET for metrics.

    mbostock authored
    You can now issue a simple HTTP GET to retrieve metrics from Cube synchronously,
    rather than fetching metrics asynchronously via WebSockets. The parameters are
    identical to the WebSockets API. So,
    
        {
          "expression": "sum(random)",
          "start": "2012-01-09T01:23:00Z",
          "stop": "2012-01-10T04:56:00Z",
          "step": 300000
        }
    
    Is equivalent to:
    
       http://localhost:1081/1.0/metric
         ?expression=sum(random)
         &start=2012-01-09T01:23:00Z
         &stop=2012-01-10T04:56:00Z
         &step=300000
    
    The results are returned as a JSON array in chronological order. If an error
    occurs, an empty array of results are returned. Fixes #24.
  2. Mike Bostock
Commits on Nov 30, 2011
  1. Mike Bostock

    Merge branch 'release'

    mbostock authored
  2. Mike Bostock

    More flexible time intervals.

    mbostock authored
    You can now specify the metric precision and duration independently, rather than
    being forced to use one of several fixed values.
  3. Mike Bostock

    Add 20-second tier.

    mbostock authored
    To avoid an explosion of cached metrics for sparse events, we no longer recurse
    all the way to the lowest tier. Instead, we recurse only one level down; if the
    cached metrics are not available at the lower tier, we then jump directly to the
    raw events.
  4. Mike Bostock

    Merge branch 'release'

    mbostock authored
  5. Mike Bostock
  6. Mike Bostock

    Updates for Node 0.6.x.

    mbostock authored
Commits on Nov 22, 2011
  1. Mike Bostock

    Merge branch 'release'

    mbostock authored
  2. Mike Bostock
  3. Mike Bostock

    Update D3 to 2.5.2.

    mbostock authored
Commits on Nov 19, 2011
  1. Mike Bostock
Commits on Nov 18, 2011
  1. Mike Bostock
  2. Mike Bostock

    Update D3 to 2.5.1.

    mbostock authored
Commits on Oct 31, 2011
  1. Mike Bostock

    Add `in` filter.

    mbostock authored
Commits on Oct 15, 2011
  1. Mike Bostock

    Only close when flushed.

    mbostock authored
Commits on Oct 13, 2011
  1. Mike Bostock
Commits on Oct 12, 2011
  1. Mike Bostock
  2. Mike Bostock

    Merge branch 'release'

    mbostock authored
  3. Mike Bostock

    Use d3.time.format.iso for date serialization.

    mbostock authored
    Fixes #2 for Safari 5.0.x and other browsers without toISOString support.
Commits on Oct 11, 2011
  1. Mike Bostock

    Display improvements.

    mbostock authored
    Fix #5, allowing the y-axis to negative. If only nonpositive values are seen,
    then the y-maximum is 0; if only nonnegative values are seen, then the y-minimum
    is 0; otherwise, the y-domain is the minimum and maximum value. X-labels are
    always drawn on the bottom.
    
    This also adopts D3 2.4's si-prefix format for both y-axis labels and for
    rolling sum values. The y-axis labels use d3.formatPrefix to determine the SI
    prefix that would be used for the largest value, and then applies that to all
    ticks for consistent labeling.
Commits on Oct 7, 2011
  1. Mike Bostock

    Update to D3 2.3.4.

    mbostock authored
  2. Mike Bostock

    Merge branch 'release'

    mbostock authored
  3. Mike Bostock
Commits on Oct 5, 2011
  1. Mike Bostock

    Tweak scaling slightly.

    mbostock authored
  2. Mike Bostock

    Merge branch 'file-path'

    mbostock authored
Something went wrong with that request. Please try again.