Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeserializeJSON ¶
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 ¶
IsClientCore checks to see if an annotation is a core client annotation
func IsServerCore ¶
IsServerCore checks to see if an annotation is a core server annotation
Types ¶
type APIHandler ¶
type APIHandler struct {
// contains filtered or unexported fields
}
APIHandler handles all HTTP calls to the collector
func NewAPIHandler ¶
func NewAPIHandler( zipkinSpansHandler app.ZipkinSpansHandler, ) *APIHandler
NewAPIHandler returns a new APIHandler
func (*APIHandler) RegisterRoutes ¶
func (aH *APIHandler) RegisterRoutes(router *mux.Router)
RegisterRoutes registers Zipkin routes
Click to show internal directories.
Click to hide internal directories.