insights

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 9 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(rr core.ErrorReport) error

func (*ResquestMonitor) ReportScheduleJob

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

func (*ResquestMonitor) ReportTracing

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

Jump to

Keyboard shortcuts

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