Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitoring ¶
type Monitoring interface { StartTransaction(ctx context.Context, name string) (interface{}, context.Context) EndTransaction(transaction interface{}) StartWebRequest(ctx context.Context, header http.Header, path string, method string) (interface{}, context.Context) StartTransactionSegment(ctx context.Context, name string, attributes map[string]string) interface{} EndTransactionSegment(segment interface{}) GetTransactionInContext(ctx context.Context) interface{} NoticeError(transaction interface{}, err error) GetSQLDBDriverName() string }
Monitoring is a contract to implements all necessary functions
func NewOthers ¶
func NewOthers() Monitoring
Click to show internal directories.
Click to hide internal directories.