Documentation ¶
Overview ¶
Package iowriter provides Exporter support for io.Writers for traces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithDataKey ¶
WithDataKey allows you to override the default "opencensus":{...} key that contains the "SpanData" and "ViewData" opencensus data
func WithKeyValues ¶
WithKeyValues is a simple way to add additional "baggage" to all trace and metrics logging. A common key value pair to add would be `serviceName` and the name of the service
func WithMessage ¶
WithMessage allows you to override the default "msg":"opencensus" log output
func WithWriter ¶
WithWriter allows you to set a writer other than the default of os.Stdout
Types ¶
type OpenCensus ¶
Click to show internal directories.
Click to hide internal directories.