Sha256: d38a474f1913b3429763cc55b46274e54f9251e175e3a1015241b782834b422d

Contents?: true

Size: 1.45 KB

Versions: 9

Compression:

Stored size: 1.45 KB

Contents

AppSignal agent
=================

This gem collects error and performance data from your Rails
applications and sends it to [AppSignal](https://appsignal.com)

[![Build Status](https://travis-ci.org/appsignal/appsignal.png?branch=develop)](https://travis-ci.org/appsignal/appsignal)
[![Code Climate](https://codeclimate.com/github/appsignal/appsignal.png)](https://codeclimate.com/github/appsignal/appsignal)

## Pull requests / issues

New features should be made in an issue or pullrequest. Title format is as follows:

    name [request_count]

example

    tagging [2]

## Postprocessing middleware

Appsignal sends Rails
[ActiveSupport::Notification](http://api.rubyonrails.org/classes/ActiveSupport/Notifications.html)-events
to AppSignal over SSL. These events contain basic metadata such as a name
and timestamps, and additional 'payload' log data. Appsignal uses a postprocessing
middleware stack to clean up events before they get sent to appsignal.com. You
can add your own middleware to this stack in `config/environment/my_env.rb`.

### Examples

#### Minimal template

```ruby
class MiddlewareTemplate
  def call(event)
    # modify the event in place
    yield # pass control to the next middleware
    # modify the event some more
  end
end

Appsignal.postprocessing_middleware.add MiddlewareTemplate
```

#### Remove boring payloads

```ruby
class RemoveBoringPayload
  def call(event)
    event.payload.clear unless event.name == 'interesting'
    yield
  end
end
```

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
appsignal-0.6.7 README.md
appsignal-0.6.6 README.md
appsignal-0.6.5 README.md
appsignal-0.6.4 README.md
appsignal-0.6.3 README.md
appsignal-0.6.3.beta.3 README.md
appsignal-0.6.3.beta.2 README.md
appsignal-0.6.3.beta.1 README.md
appsignal-0.6.2 README.md