apmazure

package module
v2.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL