Realtime Graphite

From Kyle's Wiki
Jump to: navigation, search

Contents

Realtime Graphite

To see Graphite graphs in a per-second resolution.

/opt/graphite/conf/storage-schemas.conf

[real_time]
priority = 200
pattern = ^realtime.*
retentions = 1s:365d

/opt/graphite/webapp/content/js/composer_widgets.js

Locate the function ‘toggleAutoRefresh’:

...
   //var interval = Math.min.apply(null, [context['interval'] for each (context in MetricContexts)] || [0]) || 60;
    var interval = 1; //Was 60
    button.timer = setTimeout(doRefresh, interval * 1000)
  }
...

References

Personal tools
Namespaces

Variants
Actions
Efforts
Toolbox
Meta