]> git.ipfire.org Git - thirdparty/collectd.git/commit
Special case NaN double values for GAUGE metrics. 3226/head
authorJaroslaw Przybylowicz <jaroslaw.przybylowicz@gmail.com>
Fri, 19 Jul 2019 17:12:55 +0000 (17:12 +0000)
committerJaroslaw Przybylowicz <jaroslaw.przybylowicz@gmail.com>
Fri, 19 Jul 2019 17:12:55 +0000 (17:12 +0000)
commit2207a91117a6dd5d29a473aa01af99e1bc90e49f
treecac19e444eecf069d48a69aa22ae7895ecf467bf
parentd17d1f5e3301a5c5ab0aea105940fa6fad915b82
Special case NaN double values for GAUGE metrics.

JSON does not support NaN values and the Stackdriver POST requests are malformed becuase of cutting the request in the middle.
This change special-cases NaN values and prevents them from being written to the backend.
src/utils/format_stackdriver/format_stackdriver.c