tracing

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package tracing provides Datadog tracing utilities

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTracer

func NewTracer(opts TracerOptions) interceptor.Tracer

NewTracer creates an interceptor for setting on client options that implements Datadog tracing for workflows.

func NewTracingInterceptor

func NewTracingInterceptor(opts TracerOptions) interceptor.Interceptor

NewTracingInterceptor convenience method that wraps a NeTracer() with a tracing interceptor

Types

type TracerOptions

type TracerOptions struct {
	// DisableSignalTracing can be set to disable signal tracing.
	DisableSignalTracing bool

	// DisableQueryTracing can be set to disable query tracing.
	DisableQueryTracing bool
}

TracerOptions are options provided to NewInterceptor

Jump to

Keyboard shortcuts

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