colibri_monitoring_base

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL