Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCheckCommand ¶ added in v0.0.8
func NewCheckCommand() *cli.Command
NewCheckCommand returns a command that detects disruptions in posted metrics and notifies the host as a CRITICAL alert.
Types ¶
type Check ¶ added in v0.0.3
type Check struct { Config *config.CheckConfig Client *mackerel.Client DryRun bool *logger.Logger }
func (*Check) Run ¶ added in v0.0.3
FIXME: If 'service' is ever added to CheckSource.Type, it may be necessary to consider separating the logic. see. https://github.com/mackerelio/mackerel-client-go/blob/264b7b7a402a9638b8137ec0a8ab9b8e950eef5a/checks.go#L16
Click to show internal directories.
Click to hide internal directories.