Package list golang-github-go-kit-kit / 1f5bff7
updated import path for zipkin tracer Bas van Beek 5 years ago
3 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
88 "strings"
99 "time"
1010
11 zipkin "github.com/basvanbeek/zipkin-go-opentracing"
1211 "github.com/lightstep/lightstep-tracer-go"
1312 "github.com/opentracing/opentracing-go"
13 zipkin "github.com/openzipkin/zipkin-go-opentracing"
1414 appdashot "github.com/sourcegraph/appdash/opentracing"
1515 "golang.org/x/net/context"
1616 "sourcegraph.com/sourcegraph/appdash"
1414 "time"
1515
1616 "github.com/apache/thrift/lib/go/thrift"
17 zipkin "github.com/basvanbeek/zipkin-go-opentracing"
1817 "github.com/lightstep/lightstep-tracer-go"
1918 "github.com/opentracing/opentracing-go"
19 zipkin "github.com/openzipkin/zipkin-go-opentracing"
2020 stdprometheus "github.com/prometheus/client_golang/prometheus"
2121 appdashot "github.com/sourcegraph/appdash/opentracing"
2222 "golang.org/x/net/context"
2626 host, portString, err := net.SplitHostPort(req.URL.Host)
2727 if err == nil {
2828 ext.PeerHostname.Set(span, host)
29 if port, _ := strconv.Atoi(portString); err != nil {
29 if port, err := strconv.Atoi(portString); err != nil {
3030 ext.PeerPort.Set(span, uint16(port))
3131 }
3232 } else {