Skip to content
This repository has been archived by the owner on May 31, 2018. It is now read-only.

wealthsimple/dogstatsd-instrumentation

Repository files navigation

DogStatsd::Instrumentation

Gem Version CircleCI Dependency Status Code Climate codecov Gitter chat

Table of Contents

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.

About

Reports instrumention metrics from various Ruby sources to Datadog.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published