tracing

package
v0.14.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = &bootstrap.Module{
	Name:       "Tracing",
	Precedence: bootstrap.TracingPrecedence,
	PriorityOptions: []fx.Option{
		fx.Provide(tracing.BindTracingProperties),
		fx.Provide(provideTracer),
		fx.Provide(instrument.CliRunnerTracingProvider()),
		fx.Invoke(initialize),
	},
}

Functions

func EnableBootstrapTracing

func EnableBootstrapTracing(bootstrapper *bootstrap.Bootstrapper)

EnableBootstrapTracing enable bootstrap tracing on a given bootstrapper. bootstrap.GlobalBootstrapper() should be used for regular application that uses bootstrap.Execute()

func Use

func Use()

Use does nothing. Allow service to include this module in main()

Types

type TracerClosingHook

type TracerClosingHook *fx.Hook

Jump to

Keyboard shortcuts

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