Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecorateStruct ¶
func DecorateStruct[T any](obj T, opt TracingDecoratorOption) T
func NewTracer ¶
func NewTracer(opt *TracerOption) error
Types ¶
type MethodCall ¶
type SentryOptions ¶
type TracerOption ¶
type TracingContext ¶
type TracingContext struct {
// contains filtered or unexported fields
}
func NewTracingContext ¶
func NewTracingContext(ctx context.Context, name string, maxAttrs int) *TracingContext
func (*TracingContext) AddMethodCall ¶
func (tc *TracingContext) AddMethodCall(layer Layer, name string)
func (*TracingContext) Context ¶
func (tc *TracingContext) Context() context.Context
func (*TracingContext) End ¶
func (tc *TracingContext) End()
func (*TracingContext) SetAttributes ¶
func (tc *TracingContext) SetAttributes(attributes ...attribute.KeyValue)
Click to show internal directories.
Click to hide internal directories.