Fix code typo in zipkin readme
PeerHostname line has a comma instead of a dot and that's not working :)
Fredrik Forsmo authored 6 years ago
GitHub committed 6 years ago
154 | 154 | |
155 | 155 | // this will label the span's service & hostPort (called Endpoint in Zipkin) |
156 | 156 | ext.PeerService.Set(span, serviceName) |
157 | ext.PeerHostname,Set(span, serviceHost) | |
157 | ext.PeerHostname.Set(span, serviceHost) | |
158 | 158 | ext.PeerPort.Set(span, servicePort) |
159 | 159 | |
160 | 160 | // a Tag is the equivalent of a Zipkin Binary Annotation (key:value pair) |