package
Version:
v0.0.0-...-4a11b79
Opens a new window with list of versions in this module.
Published: Sep 2, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package internal is supporting code used by server.go.
func EnableOpenCensusTracing()
EnableOpenCensusTracing installs OpenCensus as a tracing backend for LUCI
packages.
Sampler constructs an object that decides how often to sample traces.
The spec is a string in one of the forms:
- `X%` - to sample approximately X percent of requests.
- `Xqps` - to produce approximately X samples per second.
Returns an error if the spec can't be parsed.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.