goroutine_trace

package
v0.0.0-...-3a05b22 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoRoutineTraceInterceptor

type GoRoutineTraceInterceptor struct {
	// contains filtered or unexported fields
}

func GetGoRoutineTraceInterceptorSingleton

func GetGoRoutineTraceInterceptorSingleton() (*GoRoutineTraceInterceptor, error)

func (*GoRoutineTraceInterceptor) AddCurrentGRTracingContext

func (g *GoRoutineTraceInterceptor) AddCurrentGRTracingContext(ctx *GoRoutineTracingContext)

func (*GoRoutineTraceInterceptor) AfterInvoke

func (g *GoRoutineTraceInterceptor) AfterInvoke(ctx *aop.InvocationContext, facadeCtxType string)

func (*GoRoutineTraceInterceptor) BeforeInvoke

func (g *GoRoutineTraceInterceptor) BeforeInvoke(ctx *aop.InvocationContext, facadeCtxType string)

func (*GoRoutineTraceInterceptor) DeleteCurrentGRTracingContext

func (g *GoRoutineTraceInterceptor) DeleteCurrentGRTracingContext()

func (*GoRoutineTraceInterceptor) GetCurrentGRTracingContext

func (g *GoRoutineTraceInterceptor) GetCurrentGRTracingContext(ctxType string) *GoRoutineTracingContext

GetCurrentGRTracingContext return expected ctx type tracing ctx, FIXME: we now only support one facade tracing ctx type now e.g. if log debug gr is watching, another gr watching like 'trace' watching is invalid

type GoRoutineTraceInterceptorIOCInterface

type GoRoutineTraceInterceptorIOCInterface interface {
	BeforeInvoke(ctx *aop.InvocationContext, facadeCtxType string)
	AfterInvoke(ctx *aop.InvocationContext, facadeCtxType string)
	AddCurrentGRTracingContext(ctx *GoRoutineTracingContext)
	DeleteCurrentGRTracingContext()
	GetCurrentGRTracingContext(ctxType string) *GoRoutineTracingContext
}

func GetGoRoutineTraceInterceptorIOCInterfaceSingleton

func GetGoRoutineTraceInterceptorIOCInterfaceSingleton() (GoRoutineTraceInterceptorIOCInterface, error)

type GoRoutineTracingContext

type GoRoutineTracingContext struct {
	// contains filtered or unexported fields
}

func (*GoRoutineTracingContext) GetFacadeCtx

type GoRoutineTracingContextParams

type GoRoutineTracingContextParams struct {
	EntranceMethodFullName string
	FacadeCtx              GoRoutineTracingFacadeContext
}

type GoRoutineTracingFacadeContext

type GoRoutineTracingFacadeContext interface {
	aop.Interceptor
	Type() string
}

type ThisGoRoutineTraceInterceptor

type ThisGoRoutineTraceInterceptor struct {
}

func (*ThisGoRoutineTraceInterceptor) This

Jump to

Keyboard shortcuts

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