Code

Let the JSON formatter include a metric's data_names.
authorSebastian Harl <sh@tokkee.org>
Sat, 10 Sep 2016 23:23:14 +0000 (19:23 -0400)
committerSebastian Harl <sh@tokkee.org>
Sat, 10 Sep 2016 23:23:14 +0000 (19:23 -0400)
commit1f99d1a0d8a7e923dede7c938340c26061b8398b
treefcddf7e221df5380045188542863223f65f880cd
parentb2d31bc42a7694c671186081ee0cac077a188b99
Let the JSON formatter include a metric's data_names.

For that purpose, let the metric store provide a reference to the timeseries
information object (to be populated on read). The JSON formatter compiles a
list of unique data_names and outputs that alongside the other metric
metadata.
src/core/memstore.c
src/core/store_json.c
src/include/core/store.h
src/plugins/backend/collectd/unixsock.c
t/integration/mock_plugin.c
t/unit/core/store_test.c