datadog-0.2.5.0: Datadog client for Haskell. Supports both the HTTP API and StatsD.

Safe HaskellNone
LanguageHaskell2010

Network.Datadog.Internal

Contents

Synopsis

Documentation

prependMaybe :: (a -> b) -> Maybe a -> [b] -> [b] Source #

prependBool :: Bool -> b -> [b] -> [b] Source #

defaultMonitorOptions :: MonitorOptions Source #

Creates the most basic specification required by a monitor, containing the type of monitor and the query string used to detect the monitor's state.

Generates a set of "default" Monitor options, which specify as little optional configuration as possible. This includes:

  • No silencing of any part of the monitor
  • No notification when data related to the monitor is missing
  • No alert timeout after the monitor is triggeredn
  • No renotification when the monitor is triggered
  • No notification when the monitor is modified

In production situations, it is not safe to rely on this documented default behaviour for critical setitngs; use the helper functions to introspect the MonitorOptions instance provided by this function. This also protects against future modifications to this API.

Orphan instances

ToJSON Monitor Source # 
Instance details

ToJSON MonitorSpec Source # 
Instance details

ToJSON MonitorOptions Source # 
Instance details

ToJSON MonitorType Source # 
Instance details

ToJSON Metric Source # 
Instance details

ToJSON MetricPoints Source # 
Instance details

ToJSON Series Source # 
Instance details

ToJSON Event Source # 
Instance details

ToJSON EventSpec Source # 
Instance details

ToJSON SourceType Source # 
Instance details

ToJSON AlertType Source # 
Instance details

ToJSON EventPriority Source # 
Instance details

ToJSON Downtime Source # 
Instance details

ToJSON DowntimeSpec Source # 
Instance details

ToJSON CheckResult Source # 
Instance details

ToJSON CheckStatus Source # 
Instance details

ToJSON Tag Source # 
Instance details

ToJSON Timestamp Source # 
Instance details

FromJSON Monitor Source # 
Instance details

FromJSON MonitorSpec Source # 
Instance details

FromJSON MonitorOptions Source # 
Instance details

FromJSON MonitorType Source # 
Instance details

FromJSON WrappedEvents Source # 
Instance details

FromJSON WrappedEvent Source # 
Instance details

FromJSON Event Source # 
Instance details

FromJSON EventSpec Source # 
Instance details

FromJSON SourceType Source # 
Instance details

FromJSON AlertType Source # 
Instance details

FromJSON EventPriority Source # 
Instance details

FromJSON Downtime Source # 
Instance details

FromJSON DowntimeSpec Source # 
Instance details

FromJSON CheckResult Source # 
Instance details

FromJSON CheckStatus Source # 
Instance details

FromJSON Tag Source # 
Instance details