wdebug

package
v2.94.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DiagnosticTypeCPUProfile1MinuteV1 wdebug.DiagnosticType = "go.profile.cpu.1minute.v1"
	DiagnosticTypeHeapProfileV1       wdebug.DiagnosticType = "go.profile.heap.v1"
	DiagnosticTypeAllocsProfileV1     wdebug.DiagnosticType = "go.profile.allocs.v1"
	DiagnosticTypeTrace1MinuteV1      wdebug.DiagnosticType = "go.trace.1minute.v1"
	DiagnosticTypeGoroutinesV1        wdebug.DiagnosticType = "go.goroutines.v1"
	DiagnosticTypeGoroutinesV2        wdebug.DiagnosticType = "go.goroutines.v2"
	DiagnosticTypeMetricNamesV1       wdebug.DiagnosticType = "metric.names.v1"
	DiagnosticTypeSystemTimeV1        wdebug.DiagnosticType = "os.system.clock.v1"
)

Variables

This section is empty.

Functions

func RegisterRoute

func RegisterRoute(ctx context.Context, router wrouter.Router, sharedSecret refreshable.String, customDiagnosticHandlers ...wdebug.DiagnosticHandler) error

Types

type DiagnosticHandler

type DiagnosticHandler interface {
	wdebug.DiagnosticHandler
}

DiagnosticHandler is deprecated in favor of the exported wdebug.DiagnosticHandler. Deprecated

Jump to

Keyboard shortcuts

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