package
0.0.0-20191104030310-5dfa7fa53fc9
Repository: https://github.com/a-and/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.