From be6083c8328d0a7f4a93087351dae976282992b4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 7 Feb 2022 10:52:02 +0100 Subject: update to 0.70.0 --- PHPINFO | 5 +++-- REFLECTION | 19 ++++++++++++++++--- php-pecl-datadog-trace.spec | 5 ++++- 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/PHPINFO b/PHPINFO index 5773b66..db39247 100644 --- a/PHPINFO +++ b/PHPINFO @@ -7,8 +7,8 @@ For help, check out the documentation at https://docs.datadoghq.com/tracing/lang (c) Datadog 2020 Datadog tracing support => disabled -Version => 0.69.0 -DATADOG TRACER CONFIGURATION => {"date":"2022-01-25T05:59:07Z","os_name":"Linux builder.remirepo.net 5.15.16-200.fc35.x86_64 #1 SMP Thu Jan 20 15:38:18 UTC 2022 x86_64","os_version":"5.15.16-200.fc35.x86_64","version":"0.69.0","lang":"php","lang_version":"8.0.15","env":null,"enabled":true,"service":null,"enabled_cli":false,"agent_url":"http:\/\/localhost:8126","debug":false,"analytics_enabled":false,"sample_rate":1,"sampling_rules":[],"tags":[],"service_mapping":[],"distributed_tracing_enabled":true,"priority_sampling_enabled":true,"dd_version":null,"architecture":"x86_64","sapi":"cli","datadog.trace.request_init_hook":"\/usr\/share\/pear\/datadog_trace\/bridge\/dd_wrap_autoloader.php","open_basedir_configured":false,"uri_fragment_regex":null,"uri_mapping_incoming":null,"uri_mapping_outgoing":null,"auto_flush_enabled":false,"generate_root_span":true,"http_client_split_by_domain":false,"measure_compile_time":true,"report_hostname_on_root_span":false,"traced_internal_functions":null,"auto_prepend_file_configured":false,"integrations_disabled":"default","enabled_from_env":false,"opcache.file_cache":null,"agent_error":"Failed to connect to localhost port 8126 after 0 ms: Connexion refus\u00e9e"} +Version => 0.70.0 +DATADOG TRACER CONFIGURATION => {"date":"2022-02-07T09:20:50Z","os_name":"Linux builder.remirepo.net 5.16.5-200.fc35.x86_64 #1 SMP PREEMPT Tue Feb 1 21:37:11 UTC 2022 x86_64","os_version":"5.16.5-200.fc35.x86_64","version":"0.70.0","lang":"php","lang_version":"8.0.15","env":null,"enabled":true,"service":null,"enabled_cli":false,"agent_url":"http:\/\/localhost:8126","debug":false,"analytics_enabled":false,"sample_rate":1,"sampling_rules":[],"tags":[],"service_mapping":[],"distributed_tracing_enabled":true,"priority_sampling_enabled":true,"dd_version":null,"architecture":"x86_64","sapi":"cli","datadog.trace.request_init_hook":"\/usr\/share\/pear\/datadog_trace\/bridge\/dd_wrap_autoloader.php","open_basedir_configured":false,"uri_fragment_regex":null,"uri_mapping_incoming":null,"uri_mapping_outgoing":null,"auto_flush_enabled":false,"generate_root_span":true,"http_client_split_by_domain":false,"measure_compile_time":true,"report_hostname_on_root_span":false,"traced_internal_functions":null,"auto_prepend_file_configured":false,"integrations_disabled":"default","enabled_from_env":false,"opcache.file_cache":null,"agent_error":"Failed to connect to localhost port 8126 after 0 ms: Connexion refus\u00e9e"} Directive => Local Value => Master Value ddtrace.disable => Off => Off @@ -39,6 +39,7 @@ datadog.trace.enabled => Off => On datadog.trace.health_metrics_enabled => Off => Off datadog.trace.health_metrics_heartbeat_sample_rate => 0.001 => 0.001 datadog.trace.http_client_split_by_domain => Off => Off +datadog.trace.redis_client_split_by_host => Off => Off datadog.trace.memory_limit => no value => no value datadog.trace.report_hostname => Off => Off datadog.trace.resource_uri_fragment_regex => no value => no value diff --git a/REFLECTION b/REFLECTION index bf45e5f..26b92f2 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #120 ddtrace version 0.69.0 ] { +Extension [ extension #120 ddtrace version 0.70.0 ] { - Dependencies { Dependency [ json (Required) ] @@ -90,6 +90,9 @@ Extension [ extension #120 ddtrace version 0.69.0 ] { Entry [ datadog.trace.http_client_split_by_domain ] Current = 'false' } + Entry [ datadog.trace.redis_client_split_by_host ] + Current = 'false' + } Entry [ datadog.trace.memory_limit ] Current = '' } @@ -516,7 +519,7 @@ Extension [ extension #120 ddtrace version 0.69.0 ] { } - Constants [7] { - Constant [ string DD_TRACE_VERSION ] { 0.69.0 } + Constant [ string DD_TRACE_VERSION ] { 0.70.0 } Constant [ int DD_TRACE_PRIORITY_SAMPLING_AUTO_KEEP ] { 1 } Constant [ int DD_TRACE_PRIORITY_SAMPLING_AUTO_REJECT ] { 0 } Constant [ int DD_TRACE_PRIORITY_SAMPLING_USER_KEEP ] { 2 } @@ -647,6 +650,15 @@ Extension [ extension #120 ddtrace version 0.69.0 ] { - Parameters [0] { } } + Function [ function DDTrace\set_distributed_tracing_context ] { + + - Parameters [4] { + Parameter #0 [ $trace_id ] + Parameter #1 [ $parent_id ] + Parameter #2 [ $origin = ] + Parameter #3 [ $tags = ] + } + } Function [ function dd_trace_reset ] { - Parameters [0] { @@ -856,7 +868,7 @@ Extension [ extension #120 ddtrace version 0.69.0 ] { - Static methods [0] { } - - Properties [8] { + - Properties [9] { Property [ public $name = NULL ] Property [ public $resource = NULL ] Property [ public $service = NULL ] @@ -865,6 +877,7 @@ Extension [ extension #120 ddtrace version 0.69.0 ] { Property [ public $metrics = NULL ] Property [ public $exception = NULL ] Property [ public $parent = NULL ] + Property [ public $id = NULL ] } - Methods [2] { diff --git a/php-pecl-datadog-trace.spec b/php-pecl-datadog-trace.spec index 4f8afd0..57d89f1 100644 --- a/php-pecl-datadog-trace.spec +++ b/php-pecl-datadog-trace.spec @@ -26,7 +26,7 @@ Summary: APM and distributed tracing for PHP Name: %{?sub_prefix}php-pecl-datadog-trace -Version: 0.69.0 +Version: 0.70.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} # extension is dual-licensed under Apache 2.0 or BSD3. # mpack is MIT @@ -265,6 +265,9 @@ fi %changelog +* Mon Feb 7 2022 Remi Collet - 0.70.0-1 +- update to 0.70.0 + * Tue Jan 25 2022 Remi Collet - 0.69.0-1 - update to 0.69.0 -- cgit