summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO31
-rw-r--r--REFLECTION137
-rw-r--r--php-pecl-datadog-trace.spec11
3 files changed, 154 insertions, 25 deletions
diff --git a/PHPINFO b/PHPINFO
index 78ce84d..2303d76 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -7,12 +7,12 @@ For help, check out the documentation at https://docs.datadoghq.com/tracing/lang
(c) Datadog 2020
Datadog tracing support => enabled
-Version => 1.7.3
+Version => 1.8.0
DATADOG TRACER CONFIGURATION => {
- "date": "2025-03-17T13:12:56Z",
- "os_name": "Linux builder.remirepo.net 6.13.6-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Mar 7 21:33:48 UTC 2025 x86_64",
- "os_version": "6.13.6-200.fc41.x86_64",
- "version": "1.7.3",
+ "date": "2025-04-03T05:52:05Z",
+ "os_name": "Linux builder.remirepo.net 6.13.9-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 29 01:29:31 UTC 2025 x86_64",
+ "os_version": "6.13.9-200.fc41.x86_64",
+ "version": "1.8.0",
"lang": "php",
"lang_version": "8.3.19",
"env": null,
@@ -119,9 +119,9 @@ datadog.trace.peer_service_mapping => no value => no value
datadog.trace.peer_service_defaults_enabled => Off => Off
datadog.trace.remove_integration_service_names_enabled => Off => Off
datadog.trace.propagate_service => Off => Off
-datadog.trace.propagation_style_extract => datadog,tracecontext,B3,B3 single header => datadog,tracecontext,B3,B3 single header
-datadog.trace.propagation_style_inject => datadog,tracecontext => datadog,tracecontext
-datadog.trace.propagation_style => datadog,tracecontext => datadog,tracecontext
+datadog.trace.propagation_style_extract => datadog,tracecontext,B3,B3 single header,baggage => datadog,tracecontext,B3,B3 single header,baggage
+datadog.trace.propagation_style_inject => datadog,tracecontext,baggage => datadog,tracecontext,baggage
+datadog.trace.propagation_style => datadog,tracecontext,baggage => datadog,tracecontext,baggage
datadog.trace.ignore_agent_sampling_rates => Off => Off
datadog.trace.traced_internal_functions => no value => no value
datadog.trace.agent_timeout => 500 => 500
@@ -132,7 +132,7 @@ datadog.crashtracking_enabled => On => On
datadog.trace.generate_root_span => On => On
datadog.trace.spans_limit => 1000 => 1000
datadog.trace.128_bit_traceid_generation_enabled => On => On
-datadog.trace.128_bit_traceid_logging_enabled => Off => Off
+datadog.trace.128_bit_traceid_logging_enabled => On => On
datadog.trace.bgs_connect_timeout => 2000 => 2000
datadog.trace.bgs_timeout => 5000 => 5000
datadog.trace.agent_flush_interval => 1001 => 1001
@@ -178,13 +178,19 @@ datadog.openai_logs_enabled => Off => Off
datadog.openai_span_char_limit => 128 => 128
datadog.openai_span_prompt_completion_sample_rate => 1.0 => 1.0
datadog.openai_log_prompt_completion_sample_rate => 0.1 => 0.1
+datadog.trace.websocket_messages_enabled => On => On
+datadog.trace.websocket_messages_inherit_sampling => On => On
+datadog.trace.websocket_messages_separate_traces => On => On
datadog.inject_force => Off => Off
datadog.remote_config_poll_interval_seconds => 5 => 5
datadog.remote_config_enabled => On => On
datadog.dynamic_instrumentation.enabled => Off => Off
datadog.dynamic_instrumentation.redacted_identifiers => no value => no value
-datadog.experimental_appsec_standalone_enabled => Off => Off
+datadog.apm_tracing_enabled => On => On
datadog.dynamic_instrumentation.redacted_types => no value => no value
+datadog.trace.baggage_max_items => 64 => 64
+datadog.trace.baggage_max_bytes => 8192 => 8192
+datadog.trace.inferred_proxy_services_enabled => Off => Off
datadog.trace.amqp_enabled => On => On
datadog.trace.amqp_analytics_enabled => Off => Off
datadog.amqp_analytics_enabled => Off => Off
@@ -341,6 +347,11 @@ datadog.trace.psr18_analytics_enabled => Off => Off
datadog.psr18_analytics_enabled => Off => Off
datadog.trace.psr18_analytics_sample_rate => 1 => 1
datadog.psr18_analytics_sample_rate => 1 => 1
+datadog.trace.ratchet_enabled => On => On
+datadog.trace.ratchet_analytics_enabled => Off => Off
+datadog.ratchet_analytics_enabled => Off => Off
+datadog.trace.ratchet_analytics_sample_rate => 1 => 1
+datadog.ratchet_analytics_sample_rate => 1 => 1
datadog.trace.roadrunner_enabled => On => On
datadog.trace.roadrunner_analytics_enabled => Off => Off
datadog.roadrunner_analytics_enabled => Off => Off
diff --git a/REFLECTION b/REFLECTION
index 4750899..341f7fc 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #135 ddtrace version 1.7.3 ] {
+Extension [ <persistent> extension #136 ddtrace version 1.8.0 ] {
- Dependencies {
Dependency [ json (Required) ]
@@ -206,13 +206,13 @@ Extension [ <persistent> extension #135 ddtrace version 1.7.3 ] {
Current = 'false'
}
Entry [ datadog.trace.propagation_style_extract <ALL> ]
- Current = 'datadog,tracecontext,B3,B3 single header'
+ Current = 'datadog,tracecontext,B3,B3 single header,baggage'
}
Entry [ datadog.trace.propagation_style_inject <ALL> ]
- Current = 'datadog,tracecontext'
+ Current = 'datadog,tracecontext,baggage'
}
Entry [ datadog.trace.propagation_style <ALL> ]
- Current = 'datadog,tracecontext'
+ Current = 'datadog,tracecontext,baggage'
}
Entry [ datadog.trace.ignore_agent_sampling_rates <SYSTEM> ]
Current = 'false'
@@ -245,7 +245,7 @@ Extension [ <persistent> extension #135 ddtrace version 1.7.3 ] {
Current = 'true'
}
Entry [ datadog.trace.128_bit_traceid_logging_enabled <ALL> ]
- Current = 'false'
+ Current = 'true'
}
Entry [ datadog.trace.bgs_connect_timeout <SYSTEM> ]
Current = '2000'
@@ -382,6 +382,15 @@ Extension [ <persistent> extension #135 ddtrace version 1.7.3 ] {
Entry [ datadog.openai_log_prompt_completion_sample_rate <ALL> ]
Current = '0.1'
}
+ Entry [ datadog.trace.websocket_messages_enabled <ALL> ]
+ Current = 'true'
+ }
+ Entry [ datadog.trace.websocket_messages_inherit_sampling <ALL> ]
+ Current = 'true'
+ }
+ Entry [ datadog.trace.websocket_messages_separate_traces <ALL> ]
+ Current = 'true'
+ }
Entry [ datadog.inject_force <SYSTEM> ]
Current = 'false'
}
@@ -397,12 +406,21 @@ Extension [ <persistent> extension #135 ddtrace version 1.7.3 ] {
Entry [ datadog.dynamic_instrumentation.redacted_identifiers <SYSTEM> ]
Current = ''
}
- Entry [ datadog.experimental_appsec_standalone_enabled <ALL> ]
- Current = 'false'
+ Entry [ datadog.apm_tracing_enabled <ALL> ]
+ Current = 'true'
}
Entry [ datadog.dynamic_instrumentation.redacted_types <SYSTEM> ]
Current = ''
}
+ Entry [ datadog.trace.baggage_max_items <ALL> ]
+ Current = '64'
+ }
+ Entry [ datadog.trace.baggage_max_bytes <ALL> ]
+ Current = '8192'
+ }
+ Entry [ datadog.trace.inferred_proxy_services_enabled <ALL> ]
+ Current = 'false'
+ }
Entry [ datadog.trace.amqp_enabled <ALL> ]
Current = 'true'
}
@@ -871,6 +889,21 @@ Extension [ <persistent> extension #135 ddtrace version 1.7.3 ] {
Entry [ datadog.psr18_analytics_sample_rate <ALL> ]
Current = '1'
}
+ Entry [ datadog.trace.ratchet_enabled <ALL> ]
+ Current = 'true'
+ }
+ Entry [ datadog.trace.ratchet_analytics_enabled <ALL> ]
+ Current = '0'
+ }
+ Entry [ datadog.ratchet_analytics_enabled <ALL> ]
+ Current = '0'
+ }
+ Entry [ datadog.trace.ratchet_analytics_sample_rate <ALL> ]
+ Current = '1'
+ }
+ Entry [ datadog.ratchet_analytics_sample_rate <ALL> ]
+ Current = '1'
+ }
Entry [ datadog.trace.roadrunner_enabled <ALL> ]
Current = 'true'
}
@@ -1031,7 +1064,7 @@ Extension [ <persistent> extension #135 ddtrace version 1.7.3 ] {
Constant [ int DDTrace\DBM_PROPAGATION_FULL ] { 2 }
Constant [ int DDTrace\Internal\SPAN_FLAG_OPENTELEMETRY ] { 1 }
Constant [ int DDTrace\Internal\SPAN_FLAG_OPENTRACING ] { 2 }
- Constant [ string DD_TRACE_VERSION ] { 1.7.3 }
+ Constant [ string DD_TRACE_VERSION ] { 1.8.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 }
@@ -1148,7 +1181,14 @@ Extension [ <persistent> extension #135 ddtrace version 1.7.3 ] {
- Parameters [1] {
Parameter #0 [ <optional> float $startTime = 0 ]
}
- - Return [ DDTrace\SpanData ]
+ - Return [ DDTrace\RootSpanData ]
+ }
+ Function [ <internal:ddtrace> function DDTrace\try_drop_span ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> DDTrace\SpanData $span ]
+ }
+ - Return [ bool ]
}
Function [ <internal:ddtrace> function DDTrace\active_stack ] {
@@ -1187,7 +1227,7 @@ Extension [ <persistent> extension #135 ddtrace version 1.7.3 ] {
Function [ <internal:ddtrace> function DDTrace\get_sanitized_exception_trace ] {
- Parameters [2] {
- Parameter #0 [ <required> Exception|Throwable $exception ]
+ Parameter #0 [ <required> Throwable $exception ]
Parameter #1 [ <optional> int $skipFrames = 0 ]
}
- Return [ string ]
@@ -1586,7 +1626,7 @@ Extension [ <persistent> extension #135 ddtrace version 1.7.3 ] {
}
}
- - Classes [11] {
+ - Classes [12] {
Class [ <internal:ddtrace> class DDTrace\HookData ] {
- Constants [0] {
@@ -1718,7 +1758,7 @@ Extension [ <persistent> extension #135 ddtrace version 1.7.3 ] {
- Static methods [0] {
}
- - Properties [16] {
+ - Properties [18] {
Property [ public ?string $name = '' ]
Property [ public ?string $resource = '' ]
Property [ public ?string $service = '' ]
@@ -1735,6 +1775,8 @@ Extension [ <persistent> extension #135 ddtrace version 1.7.3 ] {
Property [ public array $peerServiceSources = [] ]
Property [ public readonly ?DDTrace\SpanData $parent ]
Property [ public readonly DDTrace\SpanStack $stack ]
+ Property [ public array $onClose = [] ]
+ Property [ public array $baggage = [] ]
}
- Methods [4] {
@@ -1768,6 +1810,69 @@ Extension [ <persistent> extension #135 ddtrace version 1.7.3 ] {
}
}
+ Class [ <internal:ddtrace> class DDTrace\InferredSpanData extends DDTrace\SpanData ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [18] {
+ Property [ public ?string $name = '' ]
+ Property [ public ?string $resource = '' ]
+ Property [ public ?string $service = '' ]
+ Property [ public string $env = '' ]
+ Property [ public string $version = '' ]
+ Property [ public array $meta_struct = [] ]
+ 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 $events = [] ]
+ Property [ public array $peerServiceSources = [] ]
+ Property [ public readonly ?DDTrace\SpanData $parent ]
+ Property [ public readonly DDTrace\SpanStack $stack ]
+ Property [ public array $onClose = [] ]
+ Property [ public array $baggage = [] ]
+ }
+
+ - Methods [4] {
+ Method [ <internal:ddtrace, inherits DDTrace\SpanData> public method getDuration ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:ddtrace, inherits DDTrace\SpanData> public method getStartTime ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:ddtrace, inherits DDTrace\SpanData> public method getLink ] {
+
+ - Parameters [0] {
+ }
+ - Return [ DDTrace\SpanLink ]
+ }
+
+ Method [ <internal:ddtrace, inherits DDTrace\SpanData> public method hexId ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+ }
+ }
+
Class [ <internal:ddtrace> class DDTrace\RootSpanData extends DDTrace\SpanData ] {
- Constants [0] {
@@ -1779,7 +1884,7 @@ Extension [ <persistent> extension #135 ddtrace version 1.7.3 ] {
- Static methods [0] {
}
- - Properties [25] {
+ - Properties [28] {
Property [ public ?string $name = '' ]
Property [ public ?string $resource = '' ]
Property [ public ?string $service = '' ]
@@ -1796,6 +1901,8 @@ Extension [ <persistent> extension #135 ddtrace version 1.7.3 ] {
Property [ public array $peerServiceSources = [] ]
Property [ public readonly ?DDTrace\SpanData $parent ]
Property [ public readonly DDTrace\SpanStack $stack ]
+ Property [ public array $onClose = [] ]
+ Property [ public array $baggage = [] ]
Property [ public string $origin ]
Property [ public array $propagatedTags = [] ]
Property [ public int $samplingPriority = 1073741824 ]
@@ -1805,6 +1912,7 @@ Extension [ <persistent> extension #135 ddtrace version 1.7.3 ] {
Property [ public string $parentId ]
Property [ public string $traceId = '' ]
Property [ public ?DDTrace\GitMetadata $gitMetadata = NULL ]
+ Property [ public ?DDTrace\InferredSpanData $inferredSpan = NULL ]
}
- Methods [4] {
@@ -1849,9 +1957,10 @@ Extension [ <persistent> extension #135 ddtrace version 1.7.3 ] {
- Static methods [0] {
}
- - Properties [2] {
+ - Properties [3] {
Property [ public readonly ?DDTrace\SpanStack $parent ]
Property [ public ?DDTrace\SpanData $active = NULL ]
+ Property [ public array $spanCreationObservers = [] ]
}
- Methods [0] {
diff --git a/php-pecl-datadog-trace.spec b/php-pecl-datadog-trace.spec
index 2d2a1ce..782b32a 100644
--- a/php-pecl-datadog-trace.spec
+++ b/php-pecl-datadog-trace.spec
@@ -22,6 +22,12 @@
# see https://rpms.remirepo.net/rpmphp/zoom.php?rpm=rust
# if needed, build using --enablerepo=stream
# and delete root_cache after the build
+# EL 8.10 1.79.0
+# EL 8 priv 1.84.1
+# EL 9.5 1.79.0
+# EL 9 stream 1.85.0
+# EL 10.0 1.79.0
+# EL 10 stream 1.85.0
# pecl name
%global proj_name datadog_trace
@@ -30,7 +36,7 @@
# extension name
%global pecl_name ddtrace
-%global upstream_version 1.7.3
+%global upstream_version 1.8.0
#global upstream_prever beta1
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global ini_name 40-%{pecl_name}.ini
@@ -283,6 +289,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Thu Apr 3 2025 Remi Collet <remi@remirepo.net> - 1.8.0-1
+- update to 1.8.0
+
* Mon Mar 17 2025 Remi Collet <remi@remirepo.net> - 1.7.3-1
- update to 1.7.3