jaeger

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package jaeger provides the hiboot starter for injectable jaeger dependency

Index

Constants

View Source
const (
	// Profile is the profile of jwt, it should be as same as the package name
	Profile = "jaeger"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ChildSpan

type ChildSpan Span

ChildSpan

func (*ChildSpan) Inject

func (s *ChildSpan) Inject(ctx context.Context, method string, url string, req *http.Request) opentracing.Span

type Logger

type Logger struct{}

StdLogger is implementation of the Logger interface that delegates to default `log` package

func (*Logger) Error

func (l *Logger) Error(msg string)

func (*Logger) Infof

func (l *Logger) Infof(msg string, args ...interface{})

Infof logs a message at info priority

type Span

type Span struct {
	at.ContextAware
	opentracing.Span
	// contains filtered or unexported fields
}

Span is the wrap of opentracing.Span

func (*Span) Inject

func (s *Span) Inject(ctx context.Context, method string, url string, req *http.Request) opentracing.Span

type Tracer

type Tracer opentracing.Tracer

Tracer is the wrap of opentracing.Tracer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL