Skip to content

Commit 843092d

Browse files
authored
chore(telemetry): revert enable telemetry by default (backport #3983) (#3985)
This is an automatic backport of pull request #3983 done by [Mergify](https://mergify.com). --- <details> <summary>Mergify commands and options</summary> <br /> More conditions and actions can be found in the [documentation](https://docs.mergify.com/). You can also trigger Mergify actions by commenting on this pull request: - `@Mergifyio refresh` will re-evaluate the rules - `@Mergifyio rebase` will rebase this PR on its base branch - `@Mergifyio update` will merge the base branch into this PR - `@Mergifyio backport <destination>` will backport this PR on `<destination>` branch Additionally, on Mergify [dashboard](https://dashboard.mergify.com/) you can: - look at your merge queues - generate the Mergify configuration with the config editor. Finally, you can contact us on https://mergify.com </details>
1 parent e141099 commit 843092d

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

ddtrace/bootstrap/sitecustomize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def update_patched_modules():
119119

120120
# instrumentation telemetry writer should be enabled/started after the global tracer and configs
121121
# are initialized
122-
if asbool(os.getenv("DD_INSTRUMENTATION_TELEMETRY_ENABLED", True)):
122+
if asbool(os.getenv("DD_INSTRUMENTATION_TELEMETRY_ENABLED")):
123123
telemetry_writer.enable()
124124

125125
# Check for and import any sitecustomize that would have normally been used

docs/configuration.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@ below:
6464
- Enable sending of spans to the Agent. Note that instrumentation will still be installed and spans will be
6565
generated. Added in ``v0.41.0`` (formerly named ``DATADOG_TRACE_ENABLED``).
6666

67-
.. _dd-instrumentation-telemetry-enabled:
68-
* - ``DD_INSTRUMENTATION_TELEMETRY_ENABLED``
69-
- Boolean
70-
- True
71-
- Enables sending telemetry events to the agent.
72-
7367
.. _dd-trace-debug:
7468
* - ``DD_TRACE_DEBUG``
7569
- Boolean

releasenotes/notes/enable-telemetry-by-default-ae39651a478f8e61.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)