monitor

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sentry

func Sentry(logger *zap.Logger, url string, bearer string, duration time.Duration) (bool, string)

Types

type Issue

type Issue struct {
	Title     string    `json:"title,omitempty"`
	FirstSeen time.Time `json:"firstSeen,omitempty"`
	LastSeen  time.Time `json:"lastSeen,omitempty"`
	UserCount int       `json:"userCount,omitempty"`
	WebLink   string    `json:"permalink,omitempty"`
}

Issue is an unmarshal target for a sentry issues request

Jump to

Keyboard shortcuts

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