insights

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnabledMonitor

func EnabledMonitor()

Types

type AppInsightsSettings

type AppInsightsSettings struct {
	Key     string
	Role    string
	Version string
	Details bool
}

type ResquestMonitor

type ResquestMonitor struct {
	AppInsightsSettings

	Locker *sync.Mutex
	// contains filtered or unexported fields
}

func InitRequestMonitor

func InitRequestMonitor(logger *zap.Logger) *ResquestMonitor

func (*ResquestMonitor) ReportError

func (appins *ResquestMonitor) ReportError(err error)

func (*ResquestMonitor) ReportScheduleJob

func (appins *ResquestMonitor) ReportScheduleJob(req *schedule.JobHistory)

func (*ResquestMonitor) ReportTracing

func (appins *ResquestMonitor) ReportTracing(tr *monitor.TracingDetails)

Jump to

Keyboard shortcuts

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