Versions in this module Expand all Collapse all v0 v0.5.0 Aug 8, 2018 Changes in this version + const DefaultTraceAPIURL + const DefaultTraceHostPort + const DefaultTraceOperationName + const DefaultTraceServiceName + const SubscriptionEnvironment + const SubscriptionName + func CreateTraceTagsFromCloudEvent(cloudEvent *api.CloudEvent) map[string]string + func FinishSpan(span *opentracing.Span) + func ReadTraceContext(traceContext *api.TraceContext) *opentracing.SpanContext + func ReadTraceHeaders(header *http.Header) *opentracing.SpanContext + func SetSpanTags(span *opentracing.Span, tags *map[string]string) + func StartSpan(spanContext *opentracing.SpanContext, operationName *string, ...) *opentracing.Span + func TagSpanAsError(span *opentracing.Span, errorMessage, errorStack string) + func TagSpanWithHttpStatusCode(span *opentracing.Span, statusCode uint16) + func WriteSpan(span *opentracing.Span) *api.TraceContext + type OpenTracer struct + func (zk *OpenTracer) Options() *Options + func (zk *OpenTracer) Start() + func (zk *OpenTracer) Started() bool + func (zk *OpenTracer) Stop() + type Options struct + APIURL string + Debug bool + HostPort string + OperationName string + ServiceName string + type Tracer interface + Options func() *Options + Started func() bool + Stop func() + func StartNewTracer(opts *Options) Tracer