Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype Timestamp = Timestamp {}
- newtype Write = Write {}
- data ReadWrite = ReadWrite {}
- data DatadogClient a = DatadogClient {}
- data Keys = Keys {}
- data Environment = Environment {}
- data Tag
- data CheckStatus
- data CheckResult = CheckResult {}
- data DowntimeSpec = DowntimeSpec {}
- type DowntimeId = Int
- data Downtime = Downtime {}
- data EventPriority
- data AlertType
- data SourceType
- data EventSpec = EventSpec {}
- type EventId = Int
- data Event = Event {}
- data WrappedEvent = WrappedEvent {}
- data WrappedEvents = WrappedEvents {
- wrappedEvents :: [Event]
- newtype Series = Series {}
- data MetricPoints
- data Metric = Metric {
- metricName :: Text
- metricPoints :: MetricPoints
- metricHost :: Maybe Text
- metricTags :: [Text]
- data MonitorType
- data MonitorOptions = MonitorOptions {}
- data MonitorSpec = MonitorSpec {}
- type MonitorId = Int
- data Monitor = Monitor {}
Documentation
data DatadogClient a Source #
Wraps the keys needed by Datadog to fully access the API.
data Environment Source #
An Environment contains everything needed to interact with Datadog.
Environment | |
|
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.
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 | |
|
data DowntimeSpec Source #
A description of when downtime should occur.
DowntimeSpec | |
|
type DowntimeId = Int Source #
Datadog's internal reference to a specific donwtime instance.
A scheduled donwtime stored in Datadog.
Downtime | |
|
data EventPriority Source #
A set of priorities used to denote the importance of an event.
The failure levels for an alert.
data SourceType Source #
A source from which an event may originate, recognized by Datadog.
Details that describe an event.
EventSpec | |
|
An event stored within Datadog. An event represents some sort of occurrence that was recorded in Datadog.
Event | |
|
data WrappedEvent Source #
data WrappedEvents Source #
data MetricPoints Source #
Metric | |
|
data MonitorType Source #
Each monitor is of a specific type, which determines what sort of check the monitor performs.
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.
MonitorSpec | |
|
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.
Monitor | |
|