Skip to content

Instantly share code, notes, and snippets.

View majorgreys's full-sized avatar

Tahir H. Butt majorgreys

  • Brooklyn, NY
  • 05:27 (UTC -12:00)
View GitHub Profile
FROM ubuntu:trusty
WORKDIR /opt/code
ENV PYENV_ROOT="/opt/pyenv" \
PATH="/opt/pyenv/bin:/opt/pyenv/shims:$PATH" \
LC_ALL="C.UTF-8" \
LANG="C.UTF-8"
RUN apt-get update && apt-get install -y --no-install-recommends \
Python 3.6.7 (default, Nov 3 2018, 23:50:05)
[GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.10.44.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from ddtrace import patch_all; patch_all(logging=True)
>>> import logging
>>> from ddtrace import tracer
>>> import asyncio
>>> from ddtrace.context import Context
>>> import random
>>>
Total User Startup Time: 4.321sec Total Number of GC Pauses: 0 Total GC Time: 0.000sec
core.el:512 3.039sec 70%
(unless noninteractive
(doom-initialize-modules))
core.el:511 1.247sec 28%
(doom-initialize noninteractive)
vc-git.elc:373 0.027sec 0%
Debug mode on
Auto-yes mode on
Loading c:/Users/tahir/.emacs.d/core/autoload/debug.el (source)...
Loading c:/Users/tahir/.emacs.d/core/autoload/files.el (source)...
Loading c:/Users/tahir/.emacs.d/core/autoload/message.el (source)...
Loading c:/Users/tahir/.emacs.d/core/autoload/packages.el (source)...
Loading c:/Users/tahir/.emacs.d/core/autoload/cache.el (source)...
Loading c:/Users/tahir/.emacs.d/core/cli/autoloads.el (source)...
Loading c:/Users/tahir/.emacs.d/core/cli/byte-compile.el (source)...
Loading c:/Users/tahir/.emacs.d/core/cli/debug.el (source)...

Issue 1039

Steps to reproduce:

  1. Create virtualenv and install requirements: pip install -r requirements.txt
  2. Start local Datadog agent
  3. Start backend services: docker-compose up -d
  4. Start celery worker from a shell: celery worker -A tasks -l info
  5. Start grpc server from a shell: ddtrace-run python server.py
  6. Run task from a shell: python run.py