global

package
v0.0.326 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Package__48n3d1 = &core.Package{
		PackageName: "namespacelabs.dev/foundation/std/monitoring/tracing/global",
	}

	Provider__48n3d1 = core.Provider{
		Package:     Package__48n3d1,
		Instantiate: makeDeps__48n3d1,
	}
)
View Source
var File_std_monitoring_tracing_global_types_proto protoreflect.FileDescriptor

Functions

func ProvideMeter

func ProvideMeter(ctx context.Context, _ *NoArgs, deps ExtensionDeps) (metric.Meter, error)

func ProvideTracer

func ProvideTracer(ctx context.Context, _ *NoArgs, deps ExtensionDeps) (trace.Tracer, error)

Types

type ExtensionDeps

type ExtensionDeps struct {
	MeterProvider  *metric.MeterProvider
	TracerProvider tracing.DeferredTracerProvider
}

Dependencies that are instantiated once for the lifetime of the extension.

type NoArgs

type NoArgs struct {
	// contains filtered or unexported fields
}

func (*NoArgs) Descriptor deprecated

func (*NoArgs) Descriptor() ([]byte, []int)

Deprecated: Use NoArgs.ProtoReflect.Descriptor instead.

func (*NoArgs) ProtoMessage

func (*NoArgs) ProtoMessage()

func (*NoArgs) ProtoReflect

func (x *NoArgs) ProtoReflect() protoreflect.Message

func (*NoArgs) Reset

func (x *NoArgs) Reset()

func (*NoArgs) String

func (x *NoArgs) String() string

Jump to

Keyboard shortcuts

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