From 9afa99a15626acce23714ff10360e3fe4705e5e1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 30 Oct 2023 14:10:14 +0100 Subject: update to 0.93.0 --- PHPINFO | 20 +++++--- REFLECTION | 109 +++++++++++++++++++++++++++++++++++++++++--- php-pecl-datadog-trace.spec | 7 ++- 3 files changed, 121 insertions(+), 15 deletions(-) diff --git a/PHPINFO b/PHPINFO index da0c105..ad82fe0 100644 --- a/PHPINFO +++ b/PHPINFO @@ -7,14 +7,14 @@ For help, check out the documentation at https://docs.datadoghq.com/tracing/lang (c) Datadog 2020 Datadog tracing support => disabled -Version => 0.92.2 +Version => 0.93.0 DATADOG TRACER CONFIGURATION => { - "date": "2023-10-10T06:31:50Z", - "os_name": "Linux builder.remirepo.net 6.5.5-100.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Sep 23 22:53:27 UTC 2023 x86_64", - "os_version": "6.5.5-100.fc37.x86_64", - "version": "0.92.2", + "date": "2023-10-30T11:45:42Z", + "os_name": "Linux builder.remirepo.net 6.5.8-100.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Oct 20 16:11:27 UTC 2023 x86_64", + "os_version": "6.5.8-100.fc37.x86_64", + "version": "0.93.0", "lang": "php", - "lang_version": "8.1.24", + "lang_version": "8.1.25", "env": null, "enabled": true, "service": null, @@ -88,6 +88,7 @@ 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.flush_collect_cycles => Off => Off +datadog.trace.laravel_queue_distributed_tracing => On => On datadog.trace.remove_root_span_laravel_queue => On => On datadog.trace.remove_autoinstrumentation_orphans => Off => Off datadog.trace.resource_uri_fragment_regex => no value => no value @@ -139,7 +140,7 @@ datadog.trace.agentless => Off => Off datadog.trace.warn_legacy_dd_trace => On => On datadog.trace.retain_thread_capabilities => Off => Off datadog.version => no value => no value -datadog.trace.obfuscation_query_string_regexp => (?i)(?:p(?:ass)?w(?:or)?d|pass(?:_?phrase)?|secret|(?:api_?|private_?|public_?|access_?|secret_?)key(?:_?id)?|token|consumer_?(?:id|key|secret)|sign(?:ed|ature)?|auth(?:entication|orization)?)(?:(?:\s|%20)*(?:=|%3D)[^&]+|(?:"|%22)(?:\s|%20)*(?::|%3A)(?:\s|%20)*(?:"|%22)(?:%2[^2]|%[^2]|[^"%])+(?:"|%22))|bearer(?:\s|%20)+[a-z0-9\._\-]|token(?::|%3A)[a-z0-9]{13}|gh[opsu]_[0-9a-zA-Z]{36}|ey[I-L](?:[\w=-]|%3D)+\.ey[I-L](?:[\w=-]|%3D)+(?:\.(?:[\w.+\/=-]|%3D|%2F|%2B)+)?|[\-]{5}BEGIN(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY[\-]{5}[^\-]+[\-]{5}END(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY|ssh-rsa(?:\s|%20)*(?:[a-z0-9\/\.+]|%2F|%5C|%2B){100,} => (?i)(?:p(?:ass)?w(?:or)?d|pass(?:_?phrase)?|secret|(?:api_?|private_?|public_?|access_?|secret_?)key(?:_?id)?|token|consumer_?(?:id|key|secret)|sign(?:ed|ature)?|auth(?:entication|orization)?)(?:(?:\s|%20)*(?:=|%3D)[^&]+|(?:"|%22)(?:\s|%20)*(?::|%3A)(?:\s|%20)*(?:"|%22)(?:%2[^2]|%[^2]|[^"%])+(?:"|%22))|bearer(?:\s|%20)+[a-z0-9\._\-]|token(?::|%3A)[a-z0-9]{13}|gh[opsu]_[0-9a-zA-Z]{36}|ey[I-L](?:[\w=-]|%3D)+\.ey[I-L](?:[\w=-]|%3D)+(?:\.(?:[\w.+\/=-]|%3D|%2F|%2B)+)?|[\-]{5}BEGIN(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY[\-]{5}[^\-]+[\-]{5}END(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY|ssh-rsa(?:\s|%20)*(?:[a-z0-9\/\.+]|%2F|%5C|%2B){100,} +datadog.trace.obfuscation_query_string_regexp => (?i)(?:(?:"|%22)?)(?:(?:old[-_]?|new[-_]?)?p(?:ass)?w(?:or)?d(?:1|2)?|pass(?:[-_]?phrase)?|secret|(?:api[-_]?|private[-_]?|public[-_]?|access[-_]?|secret[-_]?|app(?:lication)?[-_]?)key(?:[-_]?id)?|token|consumer[-_]?(?:id|key|secret)|sign(?:ed|ature)?|auth(?:entication|orization)?)(?:(?:\s|%20)*(?:=|%3D)[^&]+|(?:"|%22)(?:\s|%20)*(?::|%3A)(?:\s|%20)*(?:"|%22)(?:%2[^2]|%[^2]|[^"%])+(?:"|%22))|(?:bearer(?:\s|%20)+[a-z0-9._\-]+|token(?::|%3A)[a-z0-9]{13}|gh[opsu]_[0-9a-zA-Z]{36}|ey[I-L](?:[\w=-]|%3D)+\.ey[I-L](?:[\w=-]|%3D)+(?:\.(?:[\w.+/=-]|%3D|%2F|%2B)+)?|-{5}BEGIN(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY-{5}[^\-]+-{5}END(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY(?:-{5})?(?:\n|%0A)?|(?:ssh-(?:rsa|dss)|ecdsa-[a-z0-9]+-[a-z0-9]+)(?:\s|%20|%09)+(?:[a-z0-9/.+]|%2F|%5C|%2B){100,}(?:=|%3D)*(?:(?:\s|%20|%09)+[a-z0-9._-]+)?) => (?i)(?:(?:"|%22)?)(?:(?:old[-_]?|new[-_]?)?p(?:ass)?w(?:or)?d(?:1|2)?|pass(?:[-_]?phrase)?|secret|(?:api[-_]?|private[-_]?|public[-_]?|access[-_]?|secret[-_]?|app(?:lication)?[-_]?)key(?:[-_]?id)?|token|consumer[-_]?(?:id|key|secret)|sign(?:ed|ature)?|auth(?:entication|orization)?)(?:(?:\s|%20)*(?:=|%3D)[^&]+|(?:"|%22)(?:\s|%20)*(?::|%3A)(?:\s|%20)*(?:"|%22)(?:%2[^2]|%[^2]|[^"%])+(?:"|%22))|(?:bearer(?:\s|%20)+[a-z0-9._\-]+|token(?::|%3A)[a-z0-9]{13}|gh[opsu]_[0-9a-zA-Z]{36}|ey[I-L](?:[\w=-]|%3D)+\.ey[I-L](?:[\w=-]|%3D)+(?:\.(?:[\w.+/=-]|%3D|%2F|%2B)+)?|-{5}BEGIN(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY-{5}[^\-]+-{5}END(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY(?:-{5})?(?:\n|%0A)?|(?:ssh-(?:rsa|dss)|ecdsa-[a-z0-9]+-[a-z0-9]+)(?:\s|%20|%09)+(?:[a-z0-9/.+]|%2F|%5C|%2B){100,}(?:=|%3D)*(?:(?:\s|%20|%09)+[a-z0-9._-]+)?) datadog.trace.client_ip_enabled => Off => Off datadog.trace.client_ip_header => no value => no value datadog.trace.forked_process => On => On @@ -218,6 +219,11 @@ datadog.trace.lumen_analytics_enabled => Off => Off datadog.lumen_analytics_enabled => Off => Off datadog.trace.lumen_analytics_sample_rate => 1 => 1 datadog.lumen_analytics_sample_rate => 1 => 1 +datadog.trace.magento_enabled => On => On +datadog.trace.magento_analytics_enabled => Off => Off +datadog.magento_analytics_enabled => Off => Off +datadog.trace.magento_analytics_sample_rate => 1 => 1 +datadog.magento_analytics_sample_rate => 1 => 1 datadog.trace.memcache_enabled => On => On datadog.trace.memcache_analytics_enabled => Off => Off datadog.memcache_analytics_enabled => Off => Off diff --git a/REFLECTION b/REFLECTION index e49bc6f..da8a24e 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #126 ddtrace version 0.92.2 ] { +Extension [ extension #126 ddtrace version 0.93.0 ] { - Dependencies { Dependency [ json (Required) ] @@ -121,6 +121,9 @@ Extension [ extension #126 ddtrace version 0.92.2 ] { Entry [ datadog.trace.flush_collect_cycles ] Current = 'false' } + Entry [ datadog.trace.laravel_queue_distributed_tracing ] + Current = 'true' + } Entry [ datadog.trace.remove_root_span_laravel_queue ] Current = 'true' } @@ -275,7 +278,7 @@ Extension [ extension #126 ddtrace version 0.92.2 ] { Current = '' } Entry [ datadog.trace.obfuscation_query_string_regexp ] - Current = '(?i)(?:p(?:ass)?w(?:or)?d|pass(?:_?phrase)?|secret|(?:api_?|private_?|public_?|access_?|secret_?)key(?:_?id)?|token|consumer_?(?:id|key|secret)|sign(?:ed|ature)?|auth(?:entication|orization)?)(?:(?:\s|%20)*(?:=|%3D)[^&]+|(?:"|%22)(?:\s|%20)*(?::|%3A)(?:\s|%20)*(?:"|%22)(?:%2[^2]|%[^2]|[^"%])+(?:"|%22))|bearer(?:\s|%20)+[a-z0-9\._\-]|token(?::|%3A)[a-z0-9]{13}|gh[opsu]_[0-9a-zA-Z]{36}|ey[I-L](?:[\w=-]|%3D)+\.ey[I-L](?:[\w=-]|%3D)+(?:\.(?:[\w.+\/=-]|%3D|%2F|%2B)+)?|[\-]{5}BEGIN(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY[\-]{5}[^\-]+[\-]{5}END(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY|ssh-rsa(?:\s|%20)*(?:[a-z0-9\/\.+]|%2F|%5C|%2B){100,}' + Current = '(?i)(?:(?:"|%22)?)(?:(?:old[-_]?|new[-_]?)?p(?:ass)?w(?:or)?d(?:1|2)?|pass(?:[-_]?phrase)?|secret|(?:api[-_]?|private[-_]?|public[-_]?|access[-_]?|secret[-_]?|app(?:lication)?[-_]?)key(?:[-_]?id)?|token|consumer[-_]?(?:id|key|secret)|sign(?:ed|ature)?|auth(?:entication|orization)?)(?:(?:\s|%20)*(?:=|%3D)[^&]+|(?:"|%22)(?:\s|%20)*(?::|%3A)(?:\s|%20)*(?:"|%22)(?:%2[^2]|%[^2]|[^"%])+(?:"|%22))|(?:bearer(?:\s|%20)+[a-z0-9._\-]+|token(?::|%3A)[a-z0-9]{13}|gh[opsu]_[0-9a-zA-Z]{36}|ey[I-L](?:[\w=-]|%3D)+\.ey[I-L](?:[\w=-]|%3D)+(?:\.(?:[\w.+/=-]|%3D|%2F|%2B)+)?|-{5}BEGIN(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY-{5}[^\-]+-{5}END(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY(?:-{5})?(?:\n|%0A)?|(?:ssh-(?:rsa|dss)|ecdsa-[a-z0-9]+-[a-z0-9]+)(?:\s|%20|%09)+(?:[a-z0-9/.+]|%2F|%5C|%2B){100,}(?:=|%3D)*(?:(?:\s|%20|%09)+[a-z0-9._-]+)?)' } Entry [ datadog.trace.client_ip_enabled ] Current = 'false' @@ -511,6 +514,21 @@ Extension [ extension #126 ddtrace version 0.92.2 ] { Entry [ datadog.lumen_analytics_sample_rate ] Current = '1' } + Entry [ datadog.trace.magento_enabled ] + Current = 'true' + } + Entry [ datadog.trace.magento_analytics_enabled ] + Current = '0' + } + Entry [ datadog.magento_analytics_enabled ] + Current = '0' + } + Entry [ datadog.trace.magento_analytics_sample_rate ] + Current = '1' + } + Entry [ datadog.magento_analytics_sample_rate ] + Current = '1' + } Entry [ datadog.trace.memcache_enabled ] Current = 'true' } @@ -804,7 +822,7 @@ Extension [ extension #126 ddtrace version 0.92.2 ] { Constant [ int DDTrace\DBM_PROPAGATION_DISABLED ] { 0 } Constant [ int DDTrace\DBM_PROPAGATION_SERVICE ] { 1 } Constant [ int DDTrace\DBM_PROPAGATION_FULL ] { 2 } - Constant [ string DD_TRACE_VERSION ] { 0.92.2 } + Constant [ string DD_TRACE_VERSION ] { 0.93.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 } @@ -1308,7 +1326,7 @@ Extension [ extension #126 ddtrace version 0.92.2 ] { } } - - Classes [6] { + - Classes [7] { Class [ class DDTrace\HookData ] { - Constants [0] { @@ -1426,7 +1444,7 @@ Extension [ extension #126 ddtrace version 0.92.2 ] { Property [ public readonly DDTrace\SpanStack $stack ] } - - Methods [3] { + - Methods [4] { Method [ public method getDuration ] { - Parameters [0] { @@ -1447,6 +1465,78 @@ Extension [ extension #126 ddtrace version 0.92.2 ] { } - Return [ DDTrace\SpanLink ] } + + Method [ public method hexId ] { + + - Parameters [0] { + } + - Return [ string ] + } + } + } + + Class [ class DDTrace\RootSpanData extends DDTrace\SpanData ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [20] { + Property [ public ?string $name = '' ] + Property [ public ?string $resource = '' ] + Property [ public ?string $service = '' ] + Property [ public ?string $type = '' ] + Property [ public array $meta = [] ] + Property [ public array $metrics = [] ] + Property [ public ?Throwable $exception = NULL ] + Property [ public readonly string $id ] + Property [ public array $links = [] ] + Property [ public array $peerServiceSources = [] ] + Property [ public readonly ?DDTrace\SpanData $parent ] + Property [ public readonly DDTrace\SpanStack $stack ] + Property [ public string $origin ] + Property [ public array $propagatedTags = [] ] + Property [ public int $samplingPriority = 1073741824 ] + Property [ public int $propagatedSamplingPriority ] + Property [ public string $tracestate ] + Property [ public array $tracestateTags = [] ] + Property [ public string $parentId ] + Property [ public string $traceId = '' ] + } + + - Methods [4] { + Method [ public method getDuration ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method getStartTime ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method getLink ] { + + - Parameters [0] { + } + - Return [ DDTrace\SpanLink ] + } + + Method [ public method hexId ] { + + - Parameters [0] { + } + - Return [ string ] + } } } @@ -1570,7 +1660,14 @@ Extension [ extension #126 ddtrace version 0.92.2 ] { - Static properties [0] { } - - Static methods [0] { + - Static methods [1] { + Method [ static public method fromHeaders ] { + + - Parameters [1] { + Parameter #0 [ callable|array $headersOrCallback ] + } + - Return [ DDTrace\SpanLink ] + } } - Properties [5] { diff --git a/php-pecl-datadog-trace.spec b/php-pecl-datadog-trace.spec index 9843267..2369d3a 100644 --- a/php-pecl-datadog-trace.spec +++ b/php-pecl-datadog-trace.spec @@ -35,7 +35,7 @@ Summary: APM and distributed tracing for PHP Name: %{?scl_prefix}php-pecl-datadog-trace -Version: 0.92.2 +Version: 0.93.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. # bundled rust ext are MIT AND Apache-2.0 @@ -60,7 +60,7 @@ BuildRequires: cargo >= 1.70 BuildRequires: rust >= 1.70 BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.0 -BuildRequires: %{?scl_prefix}php-devel < 8.3 +BuildRequires: %{?scl_prefix}php-devel < 8.4 BuildRequires: %{?scl_prefix}php-pear BuildRequires: curl-devel BuildRequires: %{?scl_prefix}php-json @@ -297,6 +297,9 @@ fi %changelog +* Mon Oct 30 2023 Remi Collet - 0.93.0-1 +- update to 0.93.0 + * Tue Oct 10 2023 Remi Collet - 0.92.2-1 - update to 0.92.2 -- cgit