Documentation ¶
Index ¶
- func IsEnabled() bool
- func NewLogger() ddtrace.Logger
- func Service() string
- func StartProfiler(ctx context.Context, profileOptions ...profiler.Option)
- func StartProfilerWithOptions(ctx context.Context, options *Options, profileOptions ...profiler.Option)
- func StartTracer(ctx context.Context, startOptions ...tracer.StartOption)
- func StartTracerWithOptions(ctx context.Context, options *Options, startOptions ...tracer.StartOption)
- type Logger
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartTracer ¶
func StartTracer(ctx context.Context, startOptions ...tracer.StartOption)
func StartTracerWithOptions ¶
func StartTracerWithOptions(ctx context.Context, options *Options, startOptions ...tracer.StartOption)
Types ¶
type Options ¶
type Options struct { Service string Env string Enabled bool Tags map[string]string Host string Port string LambdaMode bool Analytics bool AnalyticsRate float64 DebugMode bool DebugStack bool HttpClient client.Options Version string Log struct { Level string } Addr string }
func NewOptions ¶
func NewOptionsWithPath ¶
Click to show internal directories.
Click to hide internal directories.