insights

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 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
	// 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 cronext.JobHistory)

func (*ResquestMonitor) ReportTracing

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

Jump to

Keyboard shortcuts

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