Markus Frank 6ea437b237 fix : metrics: influxdb: coerce guest name always to string
InfluxDB interprets the guest name '66601' as a number and the guest
name 'vm42' as a String. This leads to problematic metrics, that will
be dropped by influxdb. Whichever comes first decides how the
"schema" is defined.

To change that add a $to_quote hashmap to define which value
shouldn't get interpreted as number by always send it quoted.

For now only quote 'name'.

Note, that while the 'nodename' and 'host' properties would have the
same problem, they are tags in InfluxDB which are always interpreted
as strings:
https://docs.influxdata.com/influxdb/v2.1/reference/syntax/line-protocol/

Signed-off-by: Markus Frank <m.frank@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit 988150664900d447e7bdb5d0e23edadb4bd82f35)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-14 10:44:20 +01:00
2021-05-07 10:05:47 +02:00
2021-05-27 14:57:52 +02:00
2021-07-07 18:48:49 +02:00
2018-05-04 14:50:04 +02:00
2021-05-19 17:42:21 +02:00
Description
No description provided
276 MiB
Languages
JavaScript 62.6%
Perl 35%
Makefile 1.2%
CSS 0.6%
Smarty 0.3%
Other 0.2%