# lita-datadog

Interact with Datadog (https://www.datadoghq.com/).

## Installation

Add lita-datadog to your Lita instance's Gemfile:

``` ruby
gem "lita-datadog"
```

## Configuration

### Required attributes

You will need to get your API key, and configure an application key.  Go to https://app.datadoghq.com/account/settings#api for both.

* `api_key` (String) - Your DataDog API key. Default: `nil`
* `application_key` (String) - Your DataDog application key.  Default: `nil`

### Optional attributes

* `default_timerange` (Integer) - How long in seconds a default time range will be for graphs.  Default: `3600`

### Example

## Usage

```
Lita graph metric:"system.load.1{*}"
Lita graph metric:"system.load.1{*},system.load.5{*}"
```

## License

[MIT](http://opensource.org/licenses/MIT)

# lita-datadog

[![Build Status](https://travis-ci.org/esigler/lita-datadog.png?branch=master)](https://travis-ci.org/esigler/lita-datadog)
[![Code Climate](https://codeclimate.com/github/esigler/lita-datadog.png)](https://codeclimate.com/github/esigler/lita-datadog)
[![Coverage Status](https://coveralls.io/repos/esigler/lita-datadog/badge.png)](https://coveralls.io/r/esigler/lita-datadog)

Interact with Datadog (https://www.datadoghq.com/).

## Installation

Add lita-datadog to your Lita instance's Gemfile:

``` ruby
gem "lita-datadog"
```

## Configuration

### Required attributes

You will need to get your API key, and configure an application key.  Go to https://app.datadoghq.com/account/settings#api for both.

* `api_key` (String) - Your DataDog API key. Default: `nil`
* `application_key` (String) - Your DataDog application key.  Default: `nil`

### Optional attributes

* `default_timerange` (Integer) - How long in seconds a default time range will be for graphs.  Default: `3600`

### Example

## Usage

```
Lita graph metric:"system.load.1{*}"
Lita graph metric:"system.load.1{*},system.load.5{*}"
```

## License

[MIT](http://opensource.org/licenses/MIT)

Add fancy badges for tests and things
Add fancy badges for tests and things
