Skip to content
Datadog Tracing Ruby Client
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
benchmarks Fix benchmark after cleanup Jul 16, 2018
docs Collect runtime metrics from Ruby environment (#677) Apr 15, 2019
lib Bump version to 0.22.0 Apr 15, 2019
spec Collect runtime metrics from Ruby environment (#677) Apr 15, 2019
tasks Deploy release and prerelease gems Oct 5, 2018
test
.dockerignore Merge branch 'master' into 0.13-dev (with additional CI fixes) Jun 1, 2018
.env
.gitignore Merge branch 'master' into 0.13-dev (with additional CI fixes) Jun 1, 2018
.rspec Added: RSpec test suite initial setup. Jan 12, 2018
.rubocop.yml Changed: Disabled casecmp rule for Rubocop. Mar 4, 2019
.yardopts
Appraisals Changed: Test Mongo < 2.5 in CI. Apr 10, 2019
CHANGELOG.md
Gemfile
LICENSE specified the right LICENSE file (BSD-3-Clause) Oct 26, 2016
README.md Changed: GettingStarted.md formatting. Apr 5, 2018
Rakefile
ddtrace.gemspec
docker-compose.yml

README.md

Datadog Trace Client

CircleCI

ddtrace is Datadog’s tracing client for Ruby. It is used to trace requests as they flow across web servers, databases and microservices so that developers have great visiblity into bottlenecks and troublesome requests.

Getting started

For a basic product overview, check out our setup documentation.

For installation, configuration, and details about using the API, check out our API documentation and gem documentation.

For descriptions of terminology used in APM, take a look at the official documentation.

Development

Testing

Configure your environment through:

$ bundle install
$ appraisal install

You can launch tests using the following Rake commands:

$ rake test:main                                      # tracer tests
$ appraisal rails<version>-<database> rake test:rails # tests Rails matrix
$ appraisal contrib rake test:redis                   # tests Redis integration
...

Run rake --tasks for the list of available Rake tasks. Run appraisal list for the list of available appraisals.

The test suite requires many backing services (PostgreSQL, MySQL, Redis, ...) and we're using docker and docker-compose to start these services in the CI. To launch properly the test matrix, please install docker and docker-compose using the instructions provided by your platform. Then launch them through:

$ docker-compose up -d

We also enforce the Ruby community-driven style guide through Rubocop. Simply launch:

$ rake rubocop
You can’t perform that action at this time.