GithubHelp home page GithubHelp logo

benjamin-lim / dd-trace-py Goto Github PK

View Code? Open in Web Editor NEW

This project forked from datadog/dd-trace-py

0.0 1.0 0.0 2.02 MB

Datadog Tracing Python Client

Home Page: http://pypi.datadoghq.com/trace/docs/

License: BSD 3-Clause "New" or "Revised" License

Dockerfile 0.09% Ruby 0.45% Python 99.41% HTML 0.04% Mako 0.01%

dd-trace-py's Introduction

dd-trace-py

CircleCI Pyversions PypiVersions OpenTracing Badge

ddtrace is Datadog's tracing library for Python. 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, installation and quick start, check out our setup documentation.

For more advanced usage and configuration, check out our API documentation.

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

Development

Testing

Environment

The test suite requires many backing services such as PostgreSQL, MySQL, Redis and more. We use docker and docker-compose to run the services in our CI and for development. To run the test matrix, please install docker and docker-compose using the instructions provided by your platform. Then launch them through:

$ docker-compose up -d

Running the Tests

Once docker is up and running you should be able to run the tests. To launch a single test manually. For example to run the tests for redis-py 2.10 on Python 3.5 and 3.6:

$ tox -e '{py35,py36}-redis{210}'

To see the defined test commands see tox.ini.

To launch the complete test matrix run:

$ tox

Continuous Integration

We use CircleCI 2.0 for our continuous integration.

Configuration

The CI tests are configured through config.yml.

Running Locally

The CI tests can be run locally using the circleci CLI. More information about the CLI can be found at https://circleci.com/docs/2.0/local-jobs/.

After installing the circleci CLI, you can run jobs by name. For example:

$ circleci build --job django

Benchmarking

When two or more approaches must be compared, please write a benchmark in the benchmark.py module so that we can measure the efficiency of the algorithm. To run your benchmark, just:

$ python -m tests.benchmark

dd-trace-py's People

Contributors

clutchski avatar lotharsee avatar talwai avatar ufoot avatar kyle-verhoog avatar elijahandrews avatar bmermet avatar awang avatar raphaelgavache avatar leocavaille avatar willgittoes-dd avatar labbati avatar vlad-mh avatar alxch- avatar andor44 avatar brettlangdon avatar yoichi avatar thehesiod avatar galdor avatar wklken avatar joual avatar bshelton229 avatar miketheman avatar wackywendell avatar testddtrace avatar gomlgs avatar benjamin-lim avatar spesnova avatar sciyoshi avatar m0n5t3r avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.