package
0.0.0-20240624235250-9e89dfb7520d
Repository: https://github.com/tailscale/pkgsitelib.git
Documentation: pkg.go.dev

# Functions

DebugHandler creates a new http.Handler for serving debug information.
Init configures tracing and aggregation according to the given Views.
MDur returns the latency value used for recording a measurement with opencensus.
NewRouter creates a new Router, using tagger to tag incoming requests in monitoring.
NewViewExporter creates a StackDriver exporter for stats.
RecordWithTag is a convenience function for recording a single measurement with a single tag.

# Variables

KeyStatus is a tag key named "status".
Customizations of ochttp views.
Customizations of ochttp views.
Customizations of ochttp views.
Customizations of ochttp views.
Customizations of ochttp views.

# Structs

Router is an http multiplexer that instruments per-handler debugging information and census instrumentation.

# Type aliases

RouteTagger is a func that can be used to derive a dynamic route tag for an incoming request.