InfluxDB export loses VLAN interface tags for dotted names
Author: xu91102Created Sep 26, 2026Updated Sep 27, 2026
Labelsbugexport/influxdb
InfluxDB normalization splits a list item's identifier at the first dot. VLAN interface names such as eth0.100 and eth0.200 consequently lose their identifying tag and their fields are combined under an incorrect prefix.
Reproduce by passing these stats through GlancesExport.build_export() and then normalize_for_influxdb('network', columns, values):
[
{'key': 'interface_name', 'interface_name': 'eth0.100', 'bytes_recv': 10},
{'key': 'interface_name', 'interface_name': 'eth0.200', 'bytes_recv': 20},
]Expected two separate measurements tagged with the complete interface names and each interface's own byte counter. Actual measurements lack the interface_name tag. Reproduced on develop, Python 3.12.13, macOS, without needing a remote InfluxDB service. Prepared with Codex assistance.
Source: nicolargo/glances