Documentation
¶
Index ¶
- func EndTransaction(transaction any)
- func EndTransactionSegment(segment any)
- func GetSQLDBDriverName() string
- func GetTransactionInContext(ctx context.Context) any
- func Initialize()
- func NoticeError(transaction any, err error)
- func StartTransaction(ctx context.Context, name string) (any, context.Context)
- func StartTransactionSegment(ctx context.Context, name string, attributes map[string]string) any
- func StartWebRequest(ctx context.Context, header http.Header, path string, method string) (any, context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EndTransactionSegment ¶
func EndTransactionSegment(segment any)
EndTransactionSegment ends the transaction segment
func GetSQLDBDriverName ¶
func GetSQLDBDriverName() string
GetSQLDBDriverName return driver name for monitoring provider
func GetTransactionInContext ¶
GetTransactionInContext returns transaction inside a context
func Initialize ¶
func Initialize()
Initialize loads the Monitoring settings according to the configured environment.
func NoticeError ¶
NoticeError notices an error in Monitoring provider
func StartTransaction ¶
StartTransaction start a transaction in context with name
func StartTransactionSegment ¶
StartTransactionSegment start a transaction segment inside opened transaction with name and atributes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.