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

Safe HaskellNone
LanguageHaskell2010

Network.Datadog.Types

Synopsis

Documentation

newtype Timestamp Source #

Constructors

Timestamp 

newtype Write Source #

Constructors

Write 

data Keys Source #

Wraps the keys needed by Datadog to fully access the API.

Constructors

Keys 

Fields

Instances

Eq Keys Source # 

Methods

(==) :: Keys -> Keys -> Bool #

(/=) :: Keys -> Keys -> Bool #

data Environment Source #

An Environment contains everything needed to interact with Datadog.

Constructors

Environment 

Fields

data Tag Source #

Entity descriptor.

Entities in Datadog (hosts, metrics, events, etc) are frequently associated with one more more "tags". These tags are labels that identify an entity as belonging to a particular group or having particular properties. A tag can come in two forms: a simple text label, describing entities associated with the tag, or a key-value pair, associating entities with a specific slice of a larger categorization.

As strings, the key and value parts of a key-value pair are separated by a (:). As such, any tag with no colons is a label, and any tag with one (or more) is a key-value pair - if more than one : is specified, the additional :s will become part of the value.

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

data DowntimeSpec Source #

A description of when downtime should occur.

Constructors

DowntimeSpec 

Fields

type DowntimeId = Int Source #

Datadog's internal reference to a specific donwtime instance.

data Downtime Source #

A scheduled donwtime stored in Datadog.

Constructors

Downtime 

Fields

data EventSpec Source #

Details that describe an event.

Constructors

EventSpec 

Fields

type EventId = Int Source #

Datadog's internal reference to a specific event.

data Event Source #

An event stored within Datadog. An event represents some sort of occurrence that was recorded in Datadog.

Constructors

Event 

Fields

data WrappedEvent Source #

Constructors

WrappedEvent 

Fields

data WrappedEvents Source #

Constructors

WrappedEvents 

Fields

data MonitorType Source #

Each monitor is of a specific type, which determines what sort of check the monitor performs.

Constructors

MetricAlert

Watches a (combination of) metric(s), alerting when it crosses some threshold.

ServiceCheck

Watches a service and alerts when the service enters a failing state.

EventAlert

Checks the event stream for events meeting certain criteria.

data MonitorOptions Source #

Advanced configuration parameters for a monitor.

data MonitorSpec Source #

A representation of a monitor's configuration, from which a monitor could be rebuilt.

Constructors

MonitorSpec 

Fields

type MonitorId = Int Source #

Datadog's internal reference to a specific monitor.

data Monitor Source #

A Datadog monitor. These monitors actively check multiple different types of data within Datadog against user-provided conditions, triggering notifications when condition(s) are met.

Constructors

Monitor 

Fields