Sha256: 555ac0d2afb34a82b408129d060e544e10a87beea6c161b9843dd2a74e05fca4

Contents?: true

Size: 864 Bytes

Versions: 9

Compression:

Stored size: 864 Bytes

Contents

Remnant hooks into your Rails and discovers your hidden statistics.

##### Supports

* Rails 2.3.x


#### Install

```
$ [sudo] gem install remnant
```

```ruby
# For Rails 2.3.x
gem 'remnant'
```


#### Usage


Add an initializer to configure (or call configure during application startup):

```ruby
Remnant.configure do
  # hostname of statsd server
  host "https://remnant.statsd"

  # port of statsd server
  port 8125

  # app name or other unique key for multiple app usage
  tagged "custom"

  # environment of application, defaults to Rails.env
  # included in payload
  environment "production"
end

Remnant::Rails.setup! # needed if on Rails 2.3.x
```


###### Note
Remnant logs to statsd only if your environment is production, demo or staging.
For all other environments it logs via Rails.logger.info

#### Author


Original author: John "asceth" Long

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
remnant-0.4.2 README.md
remnant-0.4.1 README.md
remnant-0.4.0 README.md
remnant-0.3.3 README.md
remnant-0.3.2 README.md
remnant-0.3.1 README.md
remnant-0.3.0 README.md
remnant-0.2.4 README.md
remnant-0.2.3 README.md