Sha256: 5a9888810679f3d9a02b4d09828493f70539f96397c0ebb6fb19c75aa9060299

Contents?: true

Size: 1.85 KB

Versions: 29

Compression:

Stored size: 1.85 KB

Contents

# Doggy

Doggy manages your DataDog dashboards, alerts, monitors, and screenboards.

## Installation

Add this line to your Gemfile:

```ruby
gem 'doggy'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install doggy

## Authentication

To authenticate, you need to set API and APP keys for your DataDog account.

#### Environment variables

Export `DATADOG_API_KEY` and `DATADOG_APP_KEY` environment variables and `doggy` will catch them up automatically.

#### ejson

Set up `ejson` by putting `secrets.ejson` in your root object store.

#### json (plaintext)

If you're feeling adventurous, just put plaintext `secrets.json` in your root object store like this:

```json
{
  "datadog_api_key": "key1",
  "datadog_app_key": "key2"
}
```

## Usage

```bash
# Download selected items from DataDog
$ doggy pull ID ID

# Download all items
$ doggy pull

# Upload selected items to DataDog
$ doggy push ID ID ID

# Upload all items to DataDog
$ doggy push

# Edit a dashboard in WYSIWYG
$ doggy edit ID

# Delete selected items from both DataDog and local storage
$ doggy delete ID ID ID

# Mute monitor(s) forever
$ doggy mute ID ID ID

# Unmute monitor(s)
$ doggy unmute ID ID ID
```

## Development

After checking out the repo, run `bundle install` to install dependencies.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## Contributing

1. Fork it ( https://github.com/bai/doggy/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
doggy-2.0.30 README.md
doggy-2.0.29 README.md
doggy-2.0.28 README.md
doggy-2.0.27 README.md
doggy-2.0.26 README.md
doggy-2.0.25 README.md
doggy-2.0.24 README.md
doggy-2.0.23 README.md
doggy-2.0.22 README.md
doggy-2.0.21 README.md
doggy-2.0.20 README.md
doggy-2.0.19 README.md
doggy-2.0.18 README.md
doggy-2.0.17 README.md
doggy-2.0.15 README.md
doggy-2.0.14 README.md
doggy-2.0.12 README.md
doggy-2.0.11 README.md
doggy-2.0.10 README.md
doggy-2.0.9 README.md