Skip to content

DataDog/dd-trace-rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Emanuele Palazzetti
May 8, 2018
3621e5c · May 8, 2018
Apr 13, 2018
Mar 27, 2018
May 8, 2018
Apr 10, 2018
Apr 10, 2018
Sep 30, 2017
Oct 30, 2017
Jan 12, 2018
Apr 5, 2017
Feb 14, 2017
Mar 27, 2018
May 8, 2018
Jan 16, 2018
Oct 26, 2016
Apr 5, 2018
Mar 22, 2018
Dec 18, 2017
Jan 16, 2018
Sep 30, 2017

Repository files navigation

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