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

Safe HaskellNone
LanguageHaskell2010

Network.Datadog

Description

Datadog is a monitoring service for IT, Operations and Development teams who write and run applications at scale, and want to turn the massive amounts of data produced by their apps, tools and services into actionable insight.

Synopsis

Documentation

data Keys Source #

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

Constructors

Keys 

Fields

Instances
Eq Keys Source # 
Instance details

Defined in Network.Datadog.Types

Methods

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

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

loadKeysFromEnv :: IO Keys Source #

Load Datadog keys from environment variables.

The keys will be read from the enviornment variables DATADOG_API_KEY and DATADOG_APP_KEY. If the keys cannot be read, this function will throw an IOException.

data Environment Source #

An Environment contains everything needed to interact with Datadog.

createEnvironment :: Keys -> IO Environment Source #

Create a new environment using authentication keys, defaulting to the Datadog documented default API URL.