Safe Haskell | None |
---|---|
Language | Haskell2010 |
Checks allow users to post check statuses, for use with monitors.
- data CheckStatus
- data CheckResult = CheckResult {}
- recordCheck :: Environment -> CheckResult -> IO ()
- class HasStatus s a | s -> a where
- class HasHostName s a | s -> a where
- class HasCheck s a | s -> a where
- class HasTimestamp s a | s -> a where
- class HasTags s a | s -> a where
- class HasMessage s a | s -> a where
- class AsCheckStatus r where
Documentation
data CheckStatus Source #
The status of a service, based on a check that is run against it.
CheckOk | Everything is as it should be. |
CheckWarning | Something abnormal, but not critical, is amiss. |
CheckCritical | Something dangerously critical is amiss. |
CheckUnknown | The current status cannot be determined. |
data CheckResult Source #
The result of running a check on some service.
CheckResult | |
|
recordCheck :: Environment -> CheckResult -> IO () Source #
Record the result of a check in Datadog.
class HasHostName s a | s -> a where Source #
class HasTimestamp s a | s -> a where Source #
class HasMessage s a | s -> a where Source #
class AsCheckStatus r where Source #
_CheckStatus :: Prism' r CheckStatus Source #
_CheckOk :: Prism' r () Source #
_CheckWarning :: Prism' r () Source #
_CheckCritical :: Prism' r () Source #
_CheckUnknown :: Prism' r () Source #