Sha256: 2626a28151a55eda6b63a05e3863b4759eaf6255e6213eecca661fbb3740e653

Contents?: true

Size: 279 Bytes

Versions: 3

Compression:

Stored size: 279 Bytes

Contents

FnordMetric::COLORS = ["#4572a7", "#aa4643", "#89a54e", "#80699b", "#3d96ae", "#db843d"].reverse

FnordMetric::TICKS = lambda{ |tick, span| [tick, 60, 300, 1200, 3600, 86400]
  .select{ |t| (t >= tick) && ((span/t) > 5) }
  .uniq }


FnordMetric::DEFAULT_PROC = lambda{ |arg| }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fnordmetric-1.0.1 lib/fnordmetric/defaults.rb
fnordmetric-1.0.0 lib/fnordmetric/defaults.rb
fnordmetric-0.9.7 lib/fnordmetric/defaults.rb