tracerstats

package
v2.0.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Count

func Count(e Event) uint32

func Reset

func Reset()

func Signal

func Signal(e Event, count uint32)

Types

type Event

type Event int

Events are things that happen in the tracer such as a trace being dropped or a span being started. These are counted and submitted as metrics.

const (
	SpanStarted Event = iota
	SpansFinished
	TracesDropped
	DroppedP0Traces
	DroppedP0Spans
	PartialTraces

	// Read-only. We duplicate some of the stats so that we can send them to the
	// agent in headers as well as counting them with statsd.
	AgentDroppedP0Traces
	AgentDroppedP0Spans
)

Jump to

Keyboard shortcuts

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