Bot releases are visible (Hide)
Published by morrisonlevi about 4 years ago
The legacy API for custom instrumentation dd_trace()
is now a no-op in this release. See the upgrade guide for instructions on upgrading.
The way PHP 5.4 and 5.6 hook into the engine has changed. Please read deep call stacks on PHP 5 for more information on potential issues.
All calls to DDTrace\trace_function
or DDTrace\trace_method
functions need to happen before the first invocation of the target e.g. DDTrace\trace_function('foo', ...)
should be done before foo
is called for the first time. In the future this may need to be done before the target is even defined. This was previously noted in 0.45.0, but is now enforced for all PHP versions.
ddtrace.strict_mode
INI setting #955zend_execute_ex
+ zend_execute_internal
#970_generated.php
with PECL #980Published by SammyK about 4 years ago
Deprecation notice: The following environment variable names have changed. The old names are deprecated. See #969 for more details.
Old Name | New Name |
---|---|
DD_<INTEGRATION>_ANALYTICS_ENABLED |
DD_TRACE_<INTEGRATION>_ANALYTICS_ENABLED |
DD_<INTEGRATION>_ANALYTICS_SAMPLE_RATE |
DD_TRACE_<INTEGRATION>_ANALYTICS_SAMPLE_RATE |
DD_INTEGRATIONS_DISABLED |
DD_TRACE_<INTEGRATION>_ENABLED |
DD_TRACE_AGENT_URL
environment support #926 (thank you @nurcahyo!) #962DD_TRACE_<INTEGRATION>_<SUFFIX>
env vars #969DD_ENV
and DD_VERSION
to children spans #963Published by morrisonlevi over 4 years ago
Deprecation notice:
DD_SERVICE_NAME
is now deprecated and will be removed in a future release. Use DD_SERVICE
instead for consistency with other Datadog tracers and services.DD_TRACE_GLOBAL_TAGS
is now deprecated and will be removed in a future release. Use DD_TAGS
instead (with the same format) for consistency with other Datadog tracers and services.DD_TRACE_RESOURCE_URI_MAPPING
is deprecated now that it has been split into DD_TRACE_RESOURCE_URI_MAPPING_INCOMING
and DD_TRACE_RESOURCE_URI_MAPPING_OUTGOING
.dd_trace
and dd_trace_forward_call
are deprecated and will be made a no-op in the next release. See #924 for how to migrate.DD_ENV
, make sure to remove any existing env:*
references from DD_TAGS
/DD_TRACE_GLOBAL_TAGS
.DD_TRACE_STARTUP_LOGS=0
) #935include __DIR__ . '...'
in files #943Published by morrisonlevi over 4 years ago
If you use the OpenTracing API, the OpenTracing compatible tracer will no longer be returned from OpenTracing\GlobalTracer::get
automatically. See #899 or the documentation for more details.
On PHP 7, dd_trace
will no longer work on internal functions e.g. curl_exec
; use dd_trace_method
or dd_trace_function
instead. Additionally, when targeting internal functions they also need to be added to the environment variable DD_TRACE_TRACED_INTERNAL_FUNCTIONS
which is a comma separated list e.g. DD_TRACE_TRACED_INTERNAL_FUNCTIONS=array_sum,mt_rand,DateTime::add
. These two changes enable a significant performance optimization.
auto_prepend_file
#907Published by labbati over 4 years ago
Published by labbati over 4 years ago
Published by labbati over 4 years ago
If you are using dd_trace
, dd_trace_function
, or dd_trace_method
then you need to call these functions before the first invocation of the target e.g. dd_trace('foo', ...)
should be done before foo
is called for the first time. In the future this may need to be done before the target is even defined.
Published by morrisonlevi over 4 years ago
Published by labbati over 4 years ago
WARNING: use 0.44.1: this version presents a bug in specific builds of PHP and we recommend using version 0.44.1+ instead.
cgi-fcgi
SAPI #835Published by labbati over 4 years ago
WARNING: use 0.44.1: this version presents a bug in specific builds of PHP and we recommend using version 0.44.1+ instead.
ddtrace_app_name
and DD_TRACE_APP_NAME
. Use DD_SERVICE_NAME
instead.DD_SERVICE_MAPPING=pdo:payments-db,mysqli:orders-db
#801, #817DD_TRACE_AUTO_FLUSH_ENABLED=1
(PHP 7) #819, #826DD_TRACE_GENERATE_ROOT_SPAN=0
#834Published by labbati over 4 years ago
Published by morrisonlevi over 4 years ago
Published by SammyK over 4 years ago
Published by SammyK over 4 years ago
Published by morrisonlevi over 4 years ago
Published by morrisonlevi over 4 years ago
Important: There was an error made while creating this release; please use 0.39.2 instead.
Published by SammyK over 4 years ago
Published by SammyK over 4 years ago
Published by labbati over 4 years ago
Published by labbati almost 5 years ago