traces

package
v0.34.9 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// TagDB tags a trace as hitting the database
	TagDB = tracetagger.NewTagRef()
)

Functions

func CollectTraces

func CollectTraces() (cancel func())

CollectTraces starts storing all known tagged traces on disk, until cancel is called

func Tag

func Tag(ctx context.Context, tag *tracetagger.TagRef)

Tag tags a trace with the given tag

func TagScope

func TagScope(tag *tracetagger.TagRef, scope *monkit.Scope)

TagScope tags all functions on an entire monkit Scope with a given tag

Types

This section is empty.

Jump to

Keyboard shortcuts

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