package
0.0.0-20200122233423-62801f1d34cf
Repository: https://github.com/vishvananda/pkg.git
Documentation: pkg.go.dev
# Functions
HTTPSpanIgnoringPaths is an http.Handler middleware to create spans for the HTTP endpoint, not sampling any request whose path is in pathsToIgnore.
No description provided by the author
WithExporter returns a ConfigOption for use with NewOpenCensusTracer that configures it to export traces based on the configuration read from config-tracing.
DEPRECATED: This function is the legacy entrypoint and should be replaced with one of: - WithExporter() in production code - testing/FakeZipkinExporter() in test code.
# Variables
HTTPSpanMiddleware is an http.Handler middleware to create spans for the HTTP endpoint.
# Structs
OpenCensusTracer is responsible for managing and updating configuration of OpenCensus tracing.
# Type aliases
ConfigOption is the interface for adding additional exporters and configuring opencensus tracing.
ZipkinReporterFactory is a factory function which creates a reporter given a config.