Skip to content

Commit

Permalink
Temp work
Browse files Browse the repository at this point in the history
  • Loading branch information
esigler committed Apr 2, 2014
1 parent cad9e69 commit d9ed714
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ end

## Usage

### Graphs

Basic graph of the load on all of your systems:

Expand Down Expand Up @@ -75,6 +76,13 @@ from:"<time description>"
to:"<time description>"
```

### Searching metrics:

A basic search to see all of the metrics for a host:
```
Lita datadog search:"host:hostname01"
```

Time descriptions are parsed by https://github.com/mojombo/chronic

## License
Expand Down
1 change: 1 addition & 0 deletions spec/lita/handlers/datadog_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
it { routes_command('graph metric:"system.load.1{host:hostname01}"').to(:graph) }
it { routes_command('graph metric:"system.load.1{*},system.load.5{*}"').to(:graph) }
it { routes_command('graph metric:"system.load.1{*}" event:"sources:something"').to(:graph) }
it { routes_command('datadog search:"host:hostname01"').to(:graph) }

describe '.default_config' do
it 'sets the api_key to nil' do
Expand Down

0 comments on commit d9ed714

Please sign in to comment.