dd-trace-php

Datadog PHP Clients

OTHER License

Downloads
12.2M
Stars
464
Committers
76

Bot releases are hidden (Show)

dd-trace-php - 0.37.0

Published by SammyK almost 5 years ago

Added

  • Target a specific PHP version during install by setting DD_TRACE_PHP_BIN #604
  • Curl Integration: Add all available information from curl_getinfo() as span tags #642

Changed

  • Move dogstatsd client init to rinit #703

Fixed

  • Issues related to limited tracing #689
  • Backup and restore last error (related to error_get_last() issue) #694
  • Handle out-of-sync spans #702
  • Sandbox tracer flushing #707
  • Enhance OpenTracing StartSpanOptions support #708
  • Ensure errors raised in request init hook do not affect error_get_last() #709
dd-trace-php - 0.36.1

Published by morrisonlevi almost 5 years ago

Fixed

  • Support OpenTracing contexts as parent contexts #695
  • Avoid Curl 100-Continue #691; thanks @draco2003!
dd-trace-php - 0.36.0

Published by labbati almost 5 years ago

Note environment variable DD_SAMPLING_RATE as been deprecated. Use DD_TRACE_SAMPLE_RATE instead.

Added

  • Close open sandboxed spans on exit on PHP 7 #679
  • Support for tracing without limits #686
  • Add extra info to curl errors #688

Changed

  • Enable Sandboxed Symfony Integration #682
  • Migrate Mongo library integration to sandboxed api #669
  • Rename env DD_SAMPLING_RATE to DD_TRACE_SAMPLE_RATE #687
dd-trace-php - 0.35.0

Published by SammyK almost 5 years ago

Added

  • Compile-time metric #648
  • Health metrics: track segmentation faults #621

Changed

  • Migrate Mysqli integration to sandboxed api #635
  • Migrate Zend framework integration to sandboxed api #655
  • Migrate Symfony framework integration to sandboxed api #667
  • Refactor opcode hooks #659

Fixed

  • CodeIgniter namespace definition #650
  • Mutation of Memcached result code #663
  • Error reporting in case of fatal errors #671 This ticket was here by mistake. Work is still in progress here.
dd-trace-php - 0.34.1

Published by labbati almost 5 years ago

Fixed

  • PHP notice of undefined indexes REQUEST_METHOD and REQUEST_URI when running the request init hook on unsupported SAPI's #637
  • Distributed trace ID handling #645
dd-trace-php - 0.34.0

Published by SammyK almost 5 years ago

Added

  • Yii 2 support #624, #630
  • Enable tracing when no autoloaders used by setting DD_TRACE_NO_AUTOLOADER=true #627
  • Safe to-string conversion for all datatypes on DDTrace\SpanData #613

Changed

  • Improve dd-doctor with and container tagging detector when open_basedir is set #629

Fixed

dd-trace-php - 0.33.0

Published by SammyK about 5 years ago

Added

  • Trace origin support (Synthetics support) #615
dd-trace-php - 0.32.1

Published by morrisonlevi about 5 years ago

Added

  • Preview CodeIgniter v2 integration #588
  • Preview WordPress v4 integration #570

Please report any issues you encounter with these two preview integrations.

Fixed

  • ZF1 integration response after loading #609
  • Prevent mysqli_connect() span from closing twice #610
  • Support mysqli usage when using real_connect approach #607
dd-trace-php - 0.31.0

Published by pawelchcki about 5 years ago

Added

  • Add container id header to http transport (Container Tagging) - #552
  • Attach exceptions to spans in new API #548

Changed

  • Migrate PDO integration to sandbox API #538
  • Migrate Eloquent integration to sandbox API #559
  • Migrate memcached integration to sandbox API #578
  • Migrate elasticsearch integration to sandbox API #562

Fixed

  • Predis integration for clusters #574 (thank you @RaoulMeyer!)
  • Avoid reserved word "fn" #543
  • Fix ZTS builds, remove COMPAT_CTX_* #544
  • Curl headers are overwritten when using curl_copy_handle function #502
  • Correctly treat class names as case insensitive #571
  • Static keyword handling #576
  • Improve sandboxing of request init hook #583
  • Make PHP API check more specific #590 (thank you @iedsapala!)
dd-trace-php - 0.30.2

Published by SammyK about 5 years ago

Fixed

  • Ensure the request init hook is bound by the open_basedir INI directive #579
dd-trace-php - 0.30.1

Published by pawelchcki about 5 years ago

ADVISORY: This release circumvents open_basedir in the request_init_hook. If you rely on the open_basedir INI directive, we highly recommended you upgrade to 0.30.2.

Fixed

  • releasing $this object as soon as it stops being used #536
dd-trace-php - 0.30.0

Published by pawelchcki about 5 years ago

ADVISORY: This release circumvents open_basedir in the request_init_hook. If you rely on the open_basedir INI directive, we highly recommended you upgrade to 0.30.2.

Fixed

  • Shutdown span flushing blocking the process when forked #493
  • Memory access errors in cases when PHP code was run after extension data was freed on request shutdown #505
  • Request init hook working when open_basedir restriction is in effect #505
  • Ensure global resources are freed in shutdown #521 #523
  • Http transport not setting required X-Datadog-Trace-Count header #525

Changed

  • Remove zend_execute_ex override and trace ZEND_DO_UCALL #519
dd-trace-php - 0.29.0

Published by SammyK over 5 years ago

SERVICE NAME CHANGE NOTICE: If the tracer is configured with DD_TRACE_HTTP_CLIENT_SPLIT_BY_DOMAIN=true, the hostnames will now be prefixed with host-. If there are any monitors set up for service names by host, those will need to be updated.

Fixed

  • Edge case where the extension version and userland version can get out of sync #488

Changed

  • Prefix hostnames as service names with host- to ensure compatibility with the Agent #490
dd-trace-php - 0.28.1

Published by SammyK over 5 years ago

Fixed

  • Race condition when reading configuration from within writer thread context #486
dd-trace-php - 0.28.0

Published by SammyK over 5 years ago

Added

  • Officially support Symfony 3.0 and 4.0 #475

Fixed

  • Stack level too deep error due to changes in how PHP interprets Opcodes caused by the extension #477

Changed

  • Backtrace handler will be run only once and will display information about maximum stack size being reached #478
dd-trace-php - 0.27.2

Published by pawelchcki over 5 years ago

Changed

  • Valgrind configuration to perform more thorough memory consistency verification #472

Fixed

  • Memory leak detected in tests #472
dd-trace-php - 0.27.1

Published by pawelchcki over 5 years ago

Fixed

  • Memory leak when garbage collecting span stacks #469
dd-trace-php - 0.27.0

Published by pawelchcki over 5 years ago

Added

  • Set the hostname of a URL as the service name for curl and Guzzle requests when DD_TRACE_HTTP_CLIENT_SPLIT_BY_DOMAIN=true #459

Changed

  • Replace multiple calls to mt_rand() (32-bit) with one call to dd_trace_generate_id() which implements MT19937-64 and returns a 63-bit unsigned integer as a string #449

Fixed

  • Traces no longer affect deterministic random from mt_rand() #449
  • Fix API change with Symfony 4.x EventDispatcher #466
dd-trace-php - 0.26.0

Published by SammyK over 5 years ago

Added

  • Initial implementation of flushing spans via background thread #450

Changed

  • URL-normalization rule boundaries #457
dd-trace-php - 0.25.0

Published by pawelchcki over 5 years ago

Added

  • Support for Slim Framework v3 #446
  • IPC based configurable Circuit breaker DD_TRACE_AGENT_ATTEMPT_RETRY_TIME_MSEC and DD_TRACE_AGENT_MAX_CONSECUTIVE_FAILURES used when communicating with the agent #440
  • Normalized URL's as resource names; a CSV string of URL-to-resource-name mapping rules with * and $* wildcards can be set from DD_TRACE_RESOURCE_URI_MAPPING. This feature is disabled by default to reduce cardinality in resource names; to enable this feature set DD_TRACE_URL_AS_RESOURCE_NAMES_ENABLED=true #442