Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Add priority sampling to ddtrace-run usage #621

Merged
merged 1 commit into from
Sep 25, 2018

Conversation

Kyle-Verhoog
Copy link
Member

This fixes the discrepancy between:

Execute the given Python program after configuring it to emit Datadog traces.
Append command line arguments to your program as usual.
Usage: [ENV_VARS] ddtrace-run <my_program>
Available environment variables:
DATADOG_ENV : override an application's environment (no default)
DATADOG_TRACE_ENABLED=true|false : override the value of tracer.enabled (default: true)
DATADOG_TRACE_DEBUG=true|false : override the value of tracer.debug_logging (default: false)
DATADOG_PATCH_MODULES=module:patch,module:patch... e.g. boto:true,redis:false : override the modules patched for this execution of the program (default: none)
DATADOG_TRACE_AGENT_HOSTNAME=localhost: override the address of the trace agent host that the default tracer will attempt to submit to (default: localhost)
DATADOG_TRACE_AGENT_PORT=8126: override the port that the default tracer will submit to (default: 8126)
DATADOG_SERVICE_NAME : override the service name to be used for this program (no default)
This value is passed through when setting up middleware for web framework integrations.
(e.g. pylons, flask, django)
For tracing without a web integration, prefer setting the service name in code.

and

https://github.com/DataDog/dd-trace-py/blame/master/docs/advanced_usage.rst#L374-L395

We should consider a better way of ensuring these stay synchronized (or if we even need to keep them separated).

@Kyle-Verhoog Kyle-Verhoog added this to the 0.14.1 milestone Sep 25, 2018
@Kyle-Verhoog Kyle-Verhoog self-assigned this Sep 25, 2018
@Kyle-Verhoog Kyle-Verhoog merged commit ce33848 into master Sep 25, 2018
@Kyle-Verhoog Kyle-Verhoog deleted the kyle-verhoog/fix-run-doc branch September 25, 2018 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants