tracing

package
v0.0.291 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collect0

func Collect0(ctx context.Context, tracer trace.Tracer, name Collected, callback func(context.Context) error) error

func Collect1

func Collect1[T any](ctx context.Context, tracer trace.Tracer, name Collected, callback func(context.Context) (T, error)) (T, error)

Types

type Collected

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

func Name

func Name(name string) Collected

func (Collected) Attribute

func (c Collected) Attribute(kv ...attribute.KeyValue) Collected

Jump to

Keyboard shortcuts

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