summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO21
-rw-r--r--REFLECTION39
-rw-r--r--php-pecl-datadog-trace.spec10
3 files changed, 50 insertions, 20 deletions
diff --git a/PHPINFO b/PHPINFO
index cfe9873..7ccf460 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.93.2
+Version => 0.94.0
DATADOG TRACER CONFIGURATION => {
- "date": "2023-11-13T14:59:49Z",
- "os_name": "Linux builder.remirepo.net 6.5.10-100.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 2 21:12:43 UTC 2023 x86_64",
- "os_version": "6.5.10-100.fc37.x86_64",
- "version": "0.93.2",
+ "date": "2023-11-21T09:43:16Z",
+ "os_name": "Linux builder.remirepo.net 6.5.11-300.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 8 22:37:57 UTC 2023 x86_64",
+ "os_version": "6.5.11-300.fc39.x86_64",
+ "version": "0.94.0",
"lang": "php",
- "lang_version": "8.1.25",
+ "lang_version": "8.2.12",
"env": null,
"enabled": true,
"service": null,
@@ -46,7 +46,7 @@ DATADOG TRACER CONFIGURATION => {
"integrations_disabled": "default",
"enabled_from_env": false,
"opcache.file_cache": null,
- "agent_error": "Failed to connect to localhost port 8126 after 0 ms: Connection refused"
+ "agent_error": "Failed to connect to localhost port 8126 after 0 ms: Couldn't connect to server"
}
Directive => Local Value => Master Value
@@ -121,7 +121,7 @@ datadog.trace.debug_prng_seed => -1 => -1
datadog.log_backtrace => Off => Off
datadog.trace.generate_root_span => On => On
datadog.trace.spans_limit => 1000 => 1000
-datadog.trace.128_bit_traceid_generation_enabled => Off => Off
+datadog.trace.128_bit_traceid_generation_enabled => On => On
datadog.trace.128_bit_traceid_logging_enabled => Off => Off
datadog.trace.agent_max_consecutive_failures => 3 => 3
datadog.trace.agent_attempt_retry_time_msec => 5000 => 5000
@@ -153,6 +153,7 @@ datadog.dbm_propagation_mode => disabled => disabled
datadog.trace.wordpress_additional_actions => no value => no value
datadog.trace.wordpress_callbacks => Off => Off
datadog.trace.wordpress_enhanced_integration => Off => Off
+datadog.trace.otel_enabled => Off => Off
datadog.trace.amqp_enabled => On => On
datadog.trace.amqp_analytics_enabled => Off => Off
datadog.amqp_analytics_enabled => Off => Off
@@ -208,8 +209,8 @@ datadog.trace.laravelqueue_analytics_enabled => Off => Off
datadog.laravelqueue_analytics_enabled => Off => Off
datadog.trace.laravelqueue_analytics_sample_rate => 1 => 1
datadog.laravelqueue_analytics_sample_rate => 1 => 1
-datadog.trace.logs_enabled => On => On
-datadog.logs_injection => On => On
+datadog.trace.logs_enabled => Off => Off
+datadog.logs_injection => Off => Off
datadog.trace.logs_analytics_enabled => Off => Off
datadog.logs_analytics_enabled => Off => Off
datadog.trace.logs_analytics_sample_rate => 1 => 1
diff --git a/REFLECTION b/REFLECTION
index b25260d..070f5f2 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #126 ddtrace version 0.93.2 ] {
+Extension [ <persistent> extension #73 ddtrace version 0.94.0 ] {
- Dependencies {
Dependency [ json (Required) ]
@@ -221,7 +221,7 @@ Extension [ <persistent> extension #126 ddtrace version 0.93.2 ] {
Current = '1000'
}
Entry [ datadog.trace.128_bit_traceid_generation_enabled <ALL> ]
- Current = 'false'
+ Current = 'true'
}
Entry [ datadog.trace.128_bit_traceid_logging_enabled <ALL> ]
Current = 'false'
@@ -316,6 +316,9 @@ Extension [ <persistent> extension #126 ddtrace version 0.93.2 ] {
Entry [ datadog.trace.wordpress_enhanced_integration <ALL> ]
Current = 'false'
}
+ Entry [ datadog.trace.otel_enabled <ALL> ]
+ Current = 'false'
+ }
Entry [ datadog.trace.amqp_enabled <ALL> ]
Current = 'true'
}
@@ -482,10 +485,10 @@ Extension [ <persistent> extension #126 ddtrace version 0.93.2 ] {
Current = '1'
}
Entry [ datadog.trace.logs_enabled <ALL> ]
- Current = 'true'
+ Current = 'false'
}
Entry [ datadog.logs_injection <ALL> ]
- Current = 'true'
+ Current = 'false'
}
Entry [ datadog.trace.logs_analytics_enabled <ALL> ]
Current = '0'
@@ -822,7 +825,7 @@ Extension [ <persistent> extension #126 ddtrace version 0.93.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.93.2 }
+ Constant [ string DD_TRACE_VERSION ] { 0.94.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 }
@@ -910,7 +913,7 @@ Extension [ <persistent> extension #126 ddtrace version 0.93.2 ] {
- Parameters [0] {
}
- - Return [ ?DDTrace\SpanData ]
+ - Return [ ?DDTrace\RootSpanData ]
}
Function [ <internal:ddtrace> function DDTrace\start_span ] {
@@ -926,9 +929,18 @@ Extension [ <persistent> extension #126 ddtrace version 0.93.2 ] {
}
- Return [ ?false ]
}
+ Function [ <internal:ddtrace> function DDTrace\update_span_duration ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> DDTrace\SpanData $span ]
+ Parameter #1 [ <optional> float $finishTime = 0 ]
+ }
+ - Return [ null ]
+ }
Function [ <internal:ddtrace> function DDTrace\start_trace_span ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $startTime = 0 ]
}
- Return [ DDTrace\SpanData ]
}
@@ -968,8 +980,9 @@ Extension [ <persistent> extension #126 ddtrace version 0.93.2 ] {
}
Function [ <internal:ddtrace> function DDTrace\get_sanitized_exception_trace ] {
- - Parameters [1] {
+ - Parameters [2] {
Parameter #0 [ <required> Exception|Throwable $exception ]
+ Parameter #1 [ <optional> int $skipFrames = 0 ]
}
- Return [ string ]
}
@@ -1040,6 +1053,13 @@ Extension [ <persistent> extension #126 ddtrace version 0.93.2 ] {
}
- Return [ void ]
}
+ Function [ <internal:ddtrace> function DDTrace\curl_multi_exec_get_request_spans ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> &$array ]
+ }
+ - Return [ void ]
+ }
Function [ <internal:ddtrace> function DDTrace\System\container_id ] {
- Parameters [0] {
@@ -1319,8 +1339,9 @@ Extension [ <persistent> extension #126 ddtrace version 0.93.2 ] {
}
Function [ <internal:ddtrace> function DDTrace\remove_hook ] {
- - Parameters [1] {
+ - Parameters [2] {
Parameter #0 [ <required> int $id ]
+ Parameter #1 [ <optional> string $location = "" ]
}
- Return [ void ]
}
diff --git a/php-pecl-datadog-trace.spec b/php-pecl-datadog-trace.spec
index 4f35e93..5432e3a 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.93.2
+Version: 0.94.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
@@ -158,6 +158,10 @@ EOF
%build
+# Disable LTO
+# https://github.com/DataDog/dd-trace-php/issues/2376
+%define _lto_cflags %{nil}
+
%{?dtsenable}
%if 0%{?scl:1}
source /opt/%{scl_vendor}/%{scl}/enable
@@ -297,6 +301,10 @@ fi
%changelog
+* Tue Nov 21 2023 Remi Collet <remi@remirepo.net> - 0.94.0-1
+- update to 0.94.0
+- open https://github.com/DataDog/dd-trace-php/issues/2376 LTO build failure
+
* Mon Nov 13 2023 Remi Collet <remi@remirepo.net> - 0.93.2-1
- update to 0.93.2