When logging to carbon, IPv6 addresses are enclosed in square brackets ([]) within metric names. Square brackets have special meaning to many storage engines and frontends.
Environment
Operating system: Ubuntu 16.04
Software version: dnsdist 1.1.0
Software source: repo
Steps to reproduce
Configure dnsdist with an IPv6 interface and logging to a carbon server
Observe the metric names within your carbon instance
IPv4 addresses are encoded as 10_0_0_1:53_tcp, IPv6 addresses are encoded as [2001:db8::1]:53_tcp
Expected behaviour
A recommended encoding would be 2001:db8::1_53_tcp. It is really a toss-up on the colons becoming ambiguous or breaking with the v4 encoding.
The text was updated successfully, but these errors were encountered:
Short description
When logging to carbon, IPv6 addresses are enclosed in square brackets ([]) within metric names. Square brackets have special meaning to many storage engines and frontends.
Environment
Steps to reproduce
10_0_0_1:53_tcp
, IPv6 addresses are encoded as[2001:db8::1]:53_tcp
Expected behaviour
A recommended encoding would be
2001:db8::1_53_tcp
. It is really a toss-up on the colons becoming ambiguous or breaking with the v4 encoding.The text was updated successfully, but these errors were encountered: