Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitOpenCensusWithZipkin ¶
InitOpenCensusWithZipkin initializes the OpenCensus Zipkin Exporter.
func Middleware ¶
func Middleware() mux.MiddlewareFunc
Middleware holds a Gorilla Mux middleware to update the OpenCensus span name. This is typically used in an HTTP server using Gorilla Mux for routing.
func NameFromGorillaMux ¶
NameFromGorillaMux inspects the HTTP Request to see if it can extract the followed HTTP route to generate the needed OpenCensus span name. If not possible it will default to the URL Path. This is typically used in an HTTP client when using Gorilla Mux as URL constructor.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.