wiki:graph_period

HowToWritePlugins > Global plugin attributes? > graph_period

graph_period

graph_period is an optional attribute, which control the unit of the data that will be displayed with in the graphs. The default is per second. Changing to per minute is useful in cases of a low frequency of whatever the plugin is measuring. The plugin's programmed value may be overridden in munin.conf.

Obviously, this directive only makes sense when your data may be measured per time unit, i.e. they are COUNTER or DERIVE data types. See {fieldname}.type for details.

It has nothing to do with the sampling frequency of data

Properties

Attribute namegraph_period
ValueEither second (the default), minute or hour
Allowed charactersN/A
Spaces allowedNo
ContextGlobal plugin attributes?
RequiredNo
Default valuesecond
Last modified at 2016-10-21T15:11:13+02:00 Last modified on 2016-10-21T15:11:13+02:00