]> git.ipfire.org Git - thirdparty/collectd.git/commit
format_json: Reimplement format_json_metric().
authorFlorian Forster <octo@google.com>
Wed, 24 Jun 2020 09:08:01 +0000 (11:08 +0200)
committerFlorian Forster <octo@google.com>
Wed, 29 Jul 2020 11:40:03 +0000 (13:40 +0200)
commiteeb6ffa1ffa9ed007dac1869f277ba3c2a134815
treee4706aef23ed6158304aedd8383290a131f5d68e
parentbff9b026f5d1ed7e2ee559685c098a069bc7ca55
format_json: Reimplement format_json_metric().

This new implementation uses the new format of the metric_t type.
It produces output that is compatible with the prometheus/prom2json
project.
Makefile.am
src/daemon/plugin_mock.c
src/utils/format_json/format_json.c
src/utils/format_json/format_json.h
src/utils/format_json/format_json_test.c