telemetry

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpSpan

type HttpSpan struct {
	Parent                *HttpSpanCreator
	Id, Php, Path, Method string
	// contains filtered or unexported fields
}

func (*HttpSpan) Finish

func (s *HttpSpan) Finish(httpCode int)

type HttpSpanCreator

type HttpSpanCreator struct {
	ResponseType_0own1proxied bool
	StarterFunc               func(s *HttpSpan)
	FinisherFunc              func(s *HttpSpan)
}

func NewHttpSpanCreator

func NewHttpSpanCreator(optFuncs ...func(f *HttpSpanCreator)) (c *HttpSpanCreator, err error)

func (*HttpSpanCreator) NewSpan

func (c *HttpSpanCreator) NewSpan(id, php, path, method string) (s *HttpSpan)

Jump to

Keyboard shortcuts

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