Difference between revisions of "Global cache"

From collectd Wiki
Jump to: navigation, search
(Created initial page.)
(No difference)

Revision as of 15:55, 15 July 2009

There is a global cache into which all values that are handled by collectd are inserted. There are two major uses for this cache:

  • Convert COUNTER, DERIVE, and ABSOLUTE values to a rate, i. e. a GAUGE value.
  • Recognize missing values.

Values are identified by their identifier which can be constructed from the value_list_t data structure.

Functions to access the cache are declared in src/utils_cache.h.