zipkin-ruby icon indicating copy to clipboard operation
zipkin-ruby copied to clipboard

IPv6 support

Open codefromthecrypt opened this issue 9 years ago • 2 comments

We currently support logging of only IPv4 addresses. Starting with Zipkin 1.4 endpoints can omit IPv4 (by setting Endpoint.ipv4 to 0), and optionally log Endpoint.ipv6 as the raw 16byte address. https://github.com/openzipkin/zipkin-api/blob/master/thrift/zipkinCore.thrift#L276

In json, both are the string formatting http://zipkin.io/zipkin-api

ipv4:
string The text representation of a IPv4 address associated with this endpoint. Ex. 192.168.99.100 ipv6:
string The text representation of a IPv6 address associated with this endpoint. Ex. 2001:db8::c001

codefromthecrypt avatar Jul 13 '16 04:07 codefromthecrypt

My server will provide both ipv4 and ipv6 how do other traces do this? they provide a configuration option on which one to use?

jcarres-mdsol avatar Nov 02 '16 07:11 jcarres-mdsol

it won't be an error to set both

codefromthecrypt avatar Nov 02 '16 08:11 codefromthecrypt