New Relic Instrumentation for Crepe, the thin API stack.
In your application's Gemfile:
gem 'new_relic-crepe'
That's it. Any class that subclasses Crepe::API
will report in the correct transaction name, based on the request method and PATH. Additionally, query parameters will be sent to New Relic. If you have sensitive parameters, such as passwords or other pieces of personal information, it's recommended that you filter them by adding a NewRelic::Crepe specific configuration option to the agent:
# config/newrelic.yml
common: &default_settings
# Filter sensitive parameters (this is Crepe specific)
filtered_params:
- password
- ccv
- ssn
# etc.
For more information on how to use New Relic, see their Ruby documentation
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a Pull Request