Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/statianzo/hubot-newrelic2
New Relic stats from Hubot
https://github.com/statianzo/hubot-newrelic2
Last synced: 8 days ago
JSON representation
New Relic stats from Hubot
- Host: GitHub
- URL: https://github.com/statianzo/hubot-newrelic2
- Owner: statianzo
- License: bsd-3-clause
- Created: 2014-10-31T21:49:05.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-21T21:18:28.000Z (over 7 years ago)
- Last Synced: 2024-09-14T07:10:03.536Z (2 months ago)
- Language: CoffeeScript
- Size: 75.2 KB
- Stars: 13
- Watchers: 4
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hubot-newrelic2
New Relic stats from hubot
![newrelic servers](https://raw.githubusercontent.com/statianzo/hubot-newrelic2/master/doc/newrelicservers.png)
## Installation
```
npm install --save hubot-newrelic2
```* Add `"hubot-newrelic2"` into your hubot project's `external-scripts.json`
* Add `"hubot-newrelic2": "^0.2.0"` (or other version) into your `package.json`
* Set `HUBOT_NEWRELIC_API_KEY` to your New Relic API key
* Set `HUBOT_NEWRELIC_API_HOST` to `api.newrelic.com` (usually)## Usage
*Note*: You can replace 'newrelic' with 'nr' in all these commands.
* List all commands
```
hubot newrelic help
```#### Application Related Commands
* List all applications
```
hubot newrelic apps
```* Filtered list of applications
```
hubot newrelic apps name
```* List of single application's instances
```
hubot newrelic apps instances
```* List of single application's hosts
```
hubot newrelic apps hosts
```* List all deployments for an application
```
hubot newrelic deployments
```#### Key Transaction Related Commands
* List of all key transactions
```
hubot newrelic ktrans
```* Returns a single key transaction
```
hubot newrelic ktrans id
```#### Server Related Commands
* List all servers
```
hubot newrelic servers
```* Filtered list of servers
```
hubot newrelic servers name
```#### User Related Commands
* List all account users
```
hubot newrelic users
```* Filtered list of account users
```
hubot newrelic user email
```