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 name | graph_period |
| Value | Either second (the default), minute or hour |
| Allowed characters | N/A |
| Spaces allowed | No |
| Context | Global plugin attributes |
| Required | No |
| Default value | second |
Last modified 6 months ago
Last modified on 12/09/12 21:07:29
