]> git.ipfire.org Git - thirdparty/collectd.git/commit
common: Use metric_t internally
authorFlorian Forster <octo@google.com>
Fri, 17 Jul 2020 10:26:37 +0000 (12:26 +0200)
committerFlorian Forster <octo@google.com>
Wed, 29 Jul 2020 11:37:12 +0000 (13:37 +0200)
commitfbf3082959ea92864c970015e89fbd2060536463
tree2797e97d2b03ee660f6722b1d199a675d370c2f6
parent0bd34a3a09f50d55c0fc71f68fab67acf69117e4
common: Use metric_t internally

This is a WIP

This commit is where the major transform takes palce; the internal
representation is changed, and the read plugins use that indirectly
when they submit a value list transparently.

The baromerter read plugin has been converted to using metric_t
representation natively.

The write plugins have to be adapted to use these new single data
source metrics.

Signed-off-by: Manoj Srivastava <srivasta@google.com>
Change-Id: I9bdeaa59de5c58d11c0ae0e7b55d68d9e4d77fa1

# Conflicts:
# src/daemon/metrics_list_test.c
src/utils/common/common.c
src/utils/common/common.h