Repository is archived
No commit activity in last 3 years
No release in over 3 years
Processes relevant ActiveSupport::Notifications from Rails, Sinatra and Rake applications, sending them to Datadog.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 8.1
~> 0.10
~> 0.1
~> 12.0
~> 4.5
~> 3.5
~> 0.45

Runtime

 Project Readme

DogStatsd::Instrumentation

Gem Version CircleCI Dependency Status Code Climate codecov Gitter chat

Table of Contents

  • Features
    • Examples
  • Requirements
  • Setup
  • Tests
  • Versioning
  • Code of Conduct
  • Contributions
  • License
  • History
  • Credits

Features

DogStatsd::Instrumentation collects various ActiveSupport::Notifications and sends them to StatsD, more precisely, Datadog's DogStatsD.

Examples

Requirements

  1. Ruby 2.3.0

Setup

For a secure install, type the following (recommended):

gem cert --add <(curl --location --silent /gem-public.pem)
gem install dogstatsd-instrumentation --trust-policy MediumSecurity

NOTE: A HighSecurity trust policy would be best but MediumSecurity enables signed gem verification while allowing the installation of unsigned dependencies since they are beyond the scope of this gem.

For an insecure install, type the following (not recommended):

gem install dogstatsd-instrumentation

Add the following to your Gemfile:

gem "dogstatsd-instrumentation"

Tests

To test, run:

bundle exec rake

Versioning

Read Semantic Versioning for details. Briefly, it means:

  • Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
  • Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
  • Major (X.y.z) - Incremented for any backwards incompatible public API changes.

Code of Conduct

Please note that this project is released with a CODE OF CONDUCT. By participating in this project you agree to abide by its terms.

Contributions

Read CONTRIBUTING for details.

License

MIT License

Copyright (c) 2016 Wealthsimple.

History

Read CHANGES for details. Built with Gemsmith.

Credits

Developed by Marco Costa at Wealthsimple.