package
0.0.3
Repository: https://github.com/bhojpur/knative-pkg.git
Documentation: pkg.go.dev

# Packages

Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Revision controller depends.
No description provided by the author
No description provided by the author

# 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
SetupDynamicPublishing sets up trace publishing for the process, by watching a ConfigMap for the configuration.
SetupStaticPublishing sets up trace publishing for the process.
WithExporter returns a ConfigOption for use with NewOpenCensusTracer that configures it to export traces based on the configuration read from config-tracing.
WithExporterFull supports host argument for WithExporter.
WithZipkinExporter returns a config with zipkin enabled.

# 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.