From 01f9b7e7aa2eaeaeefa5ca38ed31eaa7d3057f86 Mon Sep 17 00:00:00 2001 From: Fredrik Forsmo Date: Mon, 20 Feb 2017 09:15:46 +0100 Subject: [PATCH] Fix code typo in zipkin readme PeerHostname line has a comma instead of a dot and that's not working :) --- tracing/zipkin/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracing/zipkin/README.md b/tracing/zipkin/README.md index 248bb0ef4..36579b576 100644 --- a/tracing/zipkin/README.md +++ b/tracing/zipkin/README.md @@ -155,7 +155,7 @@ func (svc *Service) GetMeSomeExamples(ctx context.Context, ...) ([]Examples, err // this will label the span's service & hostPort (called Endpoint in Zipkin) ext.PeerService.Set(span, serviceName) - ext.PeerHostname,Set(span, serviceHost) + ext.PeerHostname.Set(span, serviceHost) ext.PeerPort.Set(span, servicePort) // a Tag is the equivalent of a Zipkin Binary Annotation (key:value pair)