Documentation
¶
Index ¶
- func EndTransaction(transaction interface{})
- func EndTransactionSegment(segment interface{})
- func GetSQLDBDriverName() string
- func GetTransactionInContext(ctx context.Context) interface{}
- func Initialize()
- func NoticeError(transaction interface{}, err error)
- func StartTransaction(ctx context.Context, name string) (interface{}, context.Context)
- func StartTransactionSegment(ctx context.Context, name string, attributes map[string]string) interface{}
- func StartWebRequest(ctx context.Context, header http.Header, path string, method string) (interface{}, context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EndTransaction ¶
func EndTransaction(transaction interface{})
EndTransaction ends the transaction
func EndTransactionSegment ¶
func EndTransactionSegment(segment interface{})
EndTransactionSegment ends the transaction segment
func GetSQLDBDriverName ¶ added in v0.0.2
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 ¶
func NoticeError(transaction interface{}, err error)
NoticeError notices an error in Monitoring provider
func StartTransaction ¶
StartTransaction start a transaction in context with name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.