Documentation
¶
Overview ¶
Package apmazure provides tracing and error-reporting middleware for azure-sdk-for-go.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapPipeline ¶
func WrapPipeline(next pipeline.Pipeline, options ...ServerOption) pipeline.Pipeline
WrapPipeline wraps the provided pipeline.Pipeline, returning a new one that instruments requests and responses.
Types ¶
type ServerOption ¶
type ServerOption func(*apmPipeline)
ServerOption sets options for tracing requests.
func WithTracer ¶
func WithTracer(t *apm.Tracer) ServerOption
WithTracer returns a ServerOption which sets t as the tracer to use for tracing server requests.
Click to show internal directories.
Click to hide internal directories.