traces

package
v0.0.0-...-0123b22 Latest Latest
Warning

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

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

Documentation

Overview

Deprecated: Use storj.io/common/traces instead.

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