Documentation ¶
Overview ¶
Package zipkin provides primitives for creating and configuring a Zipkin tracer for this binary.
Index ¶
Constants ¶
View Source
const ( ReporterEndpoint = "zipkin-reporter-endpoint" LocalServicename = "zipkin-local-servicename" LocalHostport = "zipkin-local-hostport" SinglehostSpans = "zipkin-singlehost-spans" SampleRate = "zipkin-sample-rate" )
flags
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { Servicename string LocalHostport string Address string SampleRate float64 Tracer *zipkin.Tracer Reporter reporter.Reporter SingleHostSpans bool // contains filtered or unexported fields }
Service implements run.GroupService
func (Service) GetTracer ¶
func (s Service) GetTracer() *zipkin.Tracer
GetTracer returns the Zipkin Tracer
func (*Service) GracefulStop ¶
func (s *Service) GracefulStop()
GracefulStop implements run.GroupService
Click to show internal directories.
Click to hide internal directories.