Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTraceID ¶
Types ¶
type MethodInstrumenter ¶
type MethodInstrumenter struct {
// contains filtered or unexported fields
}
func GetInstrumenter ¶
func GetInstrumenter(ctx context.Context) *MethodInstrumenter
func NewMethodInstrument ¶
func NewMethodInstrument(methodName string) (context.Context, *MethodInstrumenter)
func (MethodInstrumenter) Annotate ¶
func (mi MethodInstrumenter) Annotate(text string)
func (*MethodInstrumenter) End ¶
func (mi *MethodInstrumenter) End()
func (*MethodInstrumenter) SetCallSite ¶
func (mi *MethodInstrumenter) SetCallSite(callSite string)
func (*MethodInstrumenter) SetError ¶
func (mi *MethodInstrumenter) SetError(err error, errShort string)
func (MethodInstrumenter) TraceID ¶
func (mi MethodInstrumenter) TraceID() string
Click to show internal directories.
Click to hide internal directories.