| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.Datadog.Check
Description
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.
Constructors
| 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.
Constructors
| CheckResult | |
Fields
| |
recordCheck :: Environment -> CheckResult -> IO () Source #
Record the result of a check in Datadog.
class AsCheckStatus r where Source #
Methods
_CheckStatus :: Prism' r CheckStatus Source #
_CheckOk :: Prism' r () Source #
_CheckWarning :: Prism' r () Source #
_CheckCritical :: Prism' r () Source #
_CheckUnknown :: Prism' r () Source #
Instances