zipkin

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2018 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeserializeJSON added in v1.0.0

func DeserializeJSON(body []byte) ([]*zipkincore.Span, error)

DeserializeJSON deserialize zipkin v1 json spans into zipkin thrift

func FindServiceName

func FindServiceName(span *zipkincore.Span) string

FindServiceName finds annotation in Zipkin span that represents emitting service name.

func IsClientCore

func IsClientCore(anno string) bool

IsClientCore checks to see if an annotation is a core client annotation

func IsCore

func IsCore(anno string) bool

IsCore checks to see if an annotation is a core annotation

func IsServerCore

func IsServerCore(anno string) bool

IsServerCore checks to see if an annotation is a core server annotation

Types

type APIHandler added in v0.6.0

type APIHandler struct {
	// contains filtered or unexported fields
}

APIHandler handles all HTTP calls to the collector

func NewAPIHandler added in v0.6.0

func NewAPIHandler(
	zipkinSpansHandler app.ZipkinSpansHandler,
) *APIHandler

NewAPIHandler returns a new APIHandler

func (*APIHandler) RegisterRoutes added in v0.6.0

func (aH *APIHandler) RegisterRoutes(router *mux.Router)

RegisterRoutes registers Zipkin routes

Jump to

Keyboard shortcuts

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