summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-03-23 15:58:07 +0100
committerRemi Collet <remi@php.net>2023-03-23 15:58:07 +0100
commit9c43edb5532963f7604cd62c0521d6543ed20a48 (patch)
treeb8b3e99b569272293f3396af59a0b9a5138198f6
parentb85d3683dc1c4207548591e423aa8d1adc3d5df9 (diff)
update to 0.86.0
-rw-r--r--PHPINFO26
-rw-r--r--REFLECTION484
-rw-r--r--php-pecl-datadog-trace.spec5
3 files changed, 340 insertions, 175 deletions
diff --git a/PHPINFO b/PHPINFO
index 8093aa2..ddceecd 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.84.0
+Version => 0.86.0
DATADOG TRACER CONFIGURATION => {
- "date": "2023-02-03T16:51:20Z",
- "os_name": "Linux builder.remirepo.net 6.1.8-200.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jan 24 20:32:16 UTC 2023 x86_64",
- "os_version": "6.1.8-200.fc37.x86_64",
- "version": "0.84.0",
+ "date": "2023-03-23T14:24:23Z",
+ "os_name": "Linux builder.remirepo.net 6.2.7-200.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Mar 17 16:16:00 UTC 2023 x86_64",
+ "os_version": "6.2.7-200.fc37.x86_64",
+ "version": "0.86.0",
"lang": "php",
- "lang_version": "8.1.15",
+ "lang_version": "8.1.17",
"env": null,
"enabled": true,
"service": null,
@@ -88,6 +88,7 @@ datadog.trace.resource_uri_mapping_incoming => no value => no value
datadog.trace.resource_uri_mapping_outgoing => no value => no value
datadog.trace.resource_uri_query_param_allowed => no value => no value
datadog.trace.http_url_query_param_allowed => * => *
+datadog.trace.http_post_data_param_allowed => no value => no value
datadog.trace.rate_limit => 0 => 0
datadog.trace.sample_rate => 1 => 1
datadog.sampling_rate => 1 => 1
@@ -128,9 +129,12 @@ datadog.trace.obfuscation_query_string_regexp => (?i)(?:p(?:ass)?w(?:or)?d|pass(
datadog.trace.client_ip_enabled => Off => Off
datadog.trace.client_ip_header => no value => no value
datadog.trace.forked_process => On => On
+datadog.trace.hook_limit => 100 => 100
datadog.trace.agent_max_payload_size => 52428800 => 52428800
datadog.trace.agent_stack_initial_size => 131072 => 131072
datadog.trace.agent_stack_backlog => 12 => 12
+datadog.trace.propagate_user_id_default => Off => Off
+datadog.dbm_propagation_mode => disabled => disabled
datadog.trace.cakephp_enabled => On => On
datadog.trace.cakephp_analytics_enabled => Off => Off
datadog.cakephp_analytics_enabled => Off => Off
@@ -171,6 +175,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.memcache_enabled => On => On
+datadog.trace.memcache_analytics_enabled => Off => Off
+datadog.memcache_analytics_enabled => Off => Off
+datadog.trace.memcache_analytics_sample_rate => 1 => 1
+datadog.memcache_analytics_sample_rate => 1 => 1
datadog.trace.memcached_enabled => On => On
datadog.trace.memcached_analytics_enabled => Off => Off
datadog.memcached_analytics_enabled => Off => Off
@@ -216,6 +225,11 @@ datadog.trace.predis_analytics_enabled => Off => Off
datadog.predis_analytics_enabled => Off => Off
datadog.trace.predis_analytics_sample_rate => 1 => 1
datadog.predis_analytics_sample_rate => 1 => 1
+datadog.trace.psr18_enabled => On => On
+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.roadrunner_enabled => On => On
datadog.trace.roadrunner_analytics_enabled => Off => Off
datadog.roadrunner_analytics_enabled => Off => Off
diff --git a/REFLECTION b/REFLECTION
index f20da7b..37757dc 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #121 ddtrace version 0.84.0 ] {
+Extension [ <persistent> extension #121 ddtrace version 0.86.0 ] {
- Dependencies {
Dependency [ json (Required) ]
@@ -121,6 +121,9 @@ Extension [ <persistent> extension #121 ddtrace version 0.84.0 ] {
Entry [ datadog.trace.http_url_query_param_allowed <ALL> ]
Current = '*'
}
+ Entry [ datadog.trace.http_post_data_param_allowed <ALL> ]
+ Current = ''
+ }
Entry [ datadog.trace.rate_limit <SYSTEM> ]
Current = '0'
}
@@ -241,6 +244,9 @@ Extension [ <persistent> extension #121 ddtrace version 0.84.0 ] {
Entry [ datadog.trace.forked_process <ALL> ]
Current = 'true'
}
+ Entry [ datadog.trace.hook_limit <ALL> ]
+ Current = '100'
+ }
Entry [ datadog.trace.agent_max_payload_size <SYSTEM> ]
Current = '52428800'
}
@@ -250,6 +256,12 @@ Extension [ <persistent> extension #121 ddtrace version 0.84.0 ] {
Entry [ datadog.trace.agent_stack_backlog <SYSTEM> ]
Current = '12'
}
+ Entry [ datadog.trace.propagate_user_id_default <ALL> ]
+ Current = 'false'
+ }
+ Entry [ datadog.dbm_propagation_mode <ALL> ]
+ Current = 'disabled'
+ }
Entry [ datadog.trace.cakephp_enabled <ALL> ]
Current = 'true'
}
@@ -370,6 +382,21 @@ Extension [ <persistent> extension #121 ddtrace version 0.84.0 ] {
Entry [ datadog.lumen_analytics_sample_rate <ALL> ]
Current = '1'
}
+ Entry [ datadog.trace.memcache_enabled <ALL> ]
+ Current = 'true'
+ }
+ Entry [ datadog.trace.memcache_analytics_enabled <ALL> ]
+ Current = '0'
+ }
+ Entry [ datadog.memcache_analytics_enabled <ALL> ]
+ Current = '0'
+ }
+ Entry [ datadog.trace.memcache_analytics_sample_rate <ALL> ]
+ Current = '1'
+ }
+ Entry [ datadog.memcache_analytics_sample_rate <ALL> ]
+ Current = '1'
+ }
Entry [ datadog.trace.memcached_enabled <ALL> ]
Current = 'true'
}
@@ -505,6 +532,21 @@ Extension [ <persistent> extension #121 ddtrace version 0.84.0 ] {
Entry [ datadog.predis_analytics_sample_rate <ALL> ]
Current = '1'
}
+ Entry [ datadog.trace.psr18_enabled <ALL> ]
+ Current = 'true'
+ }
+ Entry [ datadog.trace.psr18_analytics_enabled <ALL> ]
+ Current = '0'
+ }
+ Entry [ datadog.psr18_analytics_enabled <ALL> ]
+ Current = '0'
+ }
+ Entry [ datadog.trace.psr18_analytics_sample_rate <ALL> ]
+ Current = '1'
+ }
+ Entry [ datadog.psr18_analytics_sample_rate <ALL> ]
+ Current = '1'
+ }
Entry [ datadog.trace.roadrunner_enabled <ALL> ]
Current = 'true'
}
@@ -612,8 +654,11 @@ Extension [ <persistent> extension #121 ddtrace version 0.84.0 ] {
}
}
- - Constants [7] {
- Constant [ string DD_TRACE_VERSION ] { 0.84.0 }
+ - Constants [10] {
+ 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.86.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 }
@@ -623,390 +668,468 @@ Extension [ <persistent> extension #121 ddtrace version 0.84.0 ] {
}
- Functions {
- Function [ <internal:ddtrace> function dd_trace ] {
+ Function [ <internal:ddtrace> function DDTrace\trace_method ] {
- Parameters [3] {
- Parameter #0 [ <required> $class_or_function_name ]
- Parameter #1 [ <required> $method_name_or_tracing_closure ]
- Parameter #2 [ <optional> $tracing_closure = <default> ]
+ Parameter #0 [ <required> string $className ]
+ Parameter #1 [ <required> string $methodName ]
+ Parameter #2 [ <required> Closure|array|null $tracingClosureOrConfigArray ]
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function dd_trace_buffer_span ] {
+ Function [ <internal:ddtrace> function DDTrace\trace_function ] {
- - Parameters [1] {
- Parameter #0 [ <required> $trace_array ]
+ - Parameters [2] {
+ Parameter #0 [ <required> string $functionName ]
+ Parameter #1 [ <required> Closure|array|null $tracingClosureOrConfigArray ]
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function dd_trace_check_memory_under_limit ] {
+ Function [ <internal:ddtrace> function DDTrace\hook_function ] {
- - Parameters [0] {
+ - Parameters [3] {
+ Parameter #0 [ <required> string $functionName ]
+ Parameter #1 [ <optional> Closure|array|null $prehookOrConfigArray = null ]
+ Parameter #2 [ <optional> ?Closure $posthook = null ]
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function dd_trace_closed_spans_count ] {
+ Function [ <internal:ddtrace> function DDTrace\hook_method ] {
- - Parameters [0] {
+ - Parameters [4] {
+ Parameter #0 [ <required> string $className ]
+ Parameter #1 [ <required> string $methodName ]
+ Parameter #2 [ <optional> Closure|array|null $prehookOrConfigArray = null ]
+ Parameter #3 [ <optional> ?Closure $posthook = null ]
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function dd_trace_coms_trigger_writer_flush ] {
+ Function [ <internal:ddtrace> function DDTrace\add_global_tag ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $value ]
}
+ - Return [ void ]
}
- Function [ <internal:ddtrace> function dd_trace_dd_get_memory_limit ] {
+ Function [ <internal:ddtrace> function DDTrace\add_distributed_tag ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> string $key ]
+ Parameter #1 [ <required> string $value ]
}
+ - Return [ void ]
}
- Function [ <internal:ddtrace> function dd_trace_disable_in_request ] {
+ Function [ <internal:ddtrace> function DDTrace\set_user ] {
- - Parameters [0] {
+ - Parameters [3] {
+ Parameter #0 [ <required> string $userId ]
+ Parameter #1 [ <optional> array $metadata = [] ]
+ Parameter #2 [ <optional> ?bool $propagate = null ]
}
+ - Return [ void ]
}
- Function [ <internal:ddtrace> function dd_trace_env_config ] {
+ Function [ <internal:ddtrace> function DDTrace\close_spans_until ] {
- Parameters [1] {
- Parameter #0 [ <required> $env_name ]
+ Parameter #0 [ <required> ?DDTrace\SpanData $span ]
+ }
+ - Return [ int|false ]
+ }
+ Function [ <internal:ddtrace> function DDTrace\active_span ] {
+
+ - Parameters [0] {
}
+ - Return [ ?DDTrace\SpanData ]
}
- Function [ <internal:ddtrace> function dd_trace_forward_call ] {
+ Function [ <internal:ddtrace> function DDTrace\root_span ] {
- Parameters [0] {
}
+ - Return [ ?DDTrace\SpanData ]
}
- Function [ <internal:ddtrace> function dd_trace_generate_id ] {
+ Function [ <internal:ddtrace> function DDTrace\start_span ] {
- Parameters [1] {
- Parameter #0 [ <optional> $existing_id = <default> ]
+ Parameter #0 [ <optional> float $startTime = 0 ]
}
+ - Return [ DDTrace\SpanData|false ]
}
- Function [ <internal:ddtrace> function dd_trace_internal_fn ] {
+ Function [ <internal:ddtrace> function DDTrace\close_span ] {
- - Parameters [2] {
- Parameter #0 [ <required> $function_name ]
- Parameter #1 [ <optional> ...$vars ]
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $finishTime = 0 ]
}
+ - Return [ ?false ]
}
- Function [ <internal:ddtrace> function dd_trace_noop ] {
+ Function [ <internal:ddtrace> function DDTrace\start_trace_span ] {
- Parameters [0] {
}
+ - Return [ DDTrace\SpanData ]
}
- Function [ <internal:ddtrace> function DDTrace\flush ] {
+ Function [ <internal:ddtrace> function DDTrace\active_stack ] {
- Parameters [0] {
}
+ - Return [ ?DDTrace\SpanStack ]
}
- Function [ <internal:ddtrace> function DDTrace\close_spans_until ] {
+ Function [ <internal:ddtrace> function DDTrace\create_stack ] {
- - Parameters [1] {
- Parameter #0 [ <required> $until ]
+ - Parameters [0] {
}
+ - Return [ DDTrace\SpanStack ]
}
- Function [ <internal:ddtrace> function DDTrace\start_span ] {
+ Function [ <internal:ddtrace> function DDTrace\switch_stack ] {
- Parameters [1] {
- Parameter #0 [ <optional> $start_time = <default> ]
+ Parameter #0 [ <optional> DDTrace\SpanData|DDTrace\SpanStack|null $newStack = null ]
}
+ - Return [ DDTrace\SpanStack|false|null ]
}
- Function [ <internal:ddtrace> function DDTrace\start_trace_span ] {
+ Function [ <internal:ddtrace> function DDTrace\set_priority_sampling ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $start_time = <default> ]
+ - Parameters [2] {
+ Parameter #0 [ <required> int $priority ]
+ Parameter #1 [ <optional> bool $global = false ]
}
+ - Return [ void ]
}
- Function [ <internal:ddtrace> function DDTrace\close_span ] {
+ Function [ <internal:ddtrace> function DDTrace\get_priority_sampling ] {
- Parameters [1] {
- Parameter #0 [ <optional> $finish_time = <default> ]
+ Parameter #0 [ <optional> bool $global = false ]
}
+ - Return [ ?int ]
}
- Function [ <internal:ddtrace> function DDTrace\active_span ] {
+ Function [ <internal:ddtrace> function DDTrace\get_sanitized_exception_trace ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <required> Exception|Throwable $exception ]
}
+ - Return [ string ]
}
- Function [ <internal:ddtrace> function DDTrace\root_span ] {
+ Function [ <internal:ddtrace> function DDTrace\consume_distributed_tracing_headers ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <required> callable $callback ]
}
+ - Return [ void ]
}
- Function [ <internal:ddtrace> function DDTrace\active_stack ] {
+ Function [ <internal:ddtrace> function DDTrace\generate_distributed_tracing_headers ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> array $inject = null ]
}
+ - Return [ array ]
}
- Function [ <internal:ddtrace> function DDTrace\create_stack ] {
+ Function [ <internal:ddtrace> function DDTrace\find_active_exception ] {
- Parameters [0] {
}
+ - Return [ ?Throwable ]
}
- Function [ <internal:ddtrace> function DDTrace\switch_stack ] {
+ Function [ <internal:ddtrace> function DDTrace\extract_ip_from_headers ] {
- Parameters [1] {
- Parameter #0 [ <optional> $stack = <default> ]
+ Parameter #0 [ <required> array $headers ]
}
+ - Return [ array ]
}
- Function [ <internal:ddtrace> function dd_trace_peek_span_id ] {
+ Function [ <internal:ddtrace> function DDTrace\startup_logs ] {
- Parameters [0] {
}
+ - Return [ string ]
}
- Function [ <internal:ddtrace> function dd_trace_pop_span_id ] {
+ Function [ <internal:ddtrace> function DDTrace\trace_id ] {
- Parameters [0] {
}
+ - Return [ string ]
}
- Function [ <internal:ddtrace> function dd_trace_push_span_id ] {
+ Function [ <internal:ddtrace> function DDTrace\current_context ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $existing_id = <default> ]
+ - Parameters [0] {
}
+ - Return [ array ]
}
- Function [ <internal:ddtrace> function DDTrace\trace_id ] {
+ Function [ <internal:ddtrace> function DDTrace\set_distributed_tracing_context ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $traceId ]
+ Parameter #1 [ <required> string $parentId ]
+ Parameter #2 [ <optional> ?string $origin = null ]
+ Parameter #3 [ <optional> array|string|null $propagated_tags = null ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:ddtrace> function DDTrace\flush ] {
- Parameters [0] {
}
+ - Return [ void ]
}
- Function [ <internal:ddtrace> function DDTrace\current_context ] {
+ Function [ <internal:ddtrace> function DDTrace\System\container_id ] {
- Parameters [0] {
}
+ - Return [ ?string ]
}
- Function [ <internal:ddtrace> function DDTrace\set_distributed_tracing_context ] {
+ Function [ <internal:ddtrace> function DDTrace\Config\integration_analytics_enabled ] {
- - Parameters [4] {
- Parameter #0 [ <required> $trace_id ]
- Parameter #1 [ <required> $parent_id ]
- Parameter #2 [ <optional> $origin = <default> ]
- Parameter #3 [ <optional> $tags = <default> ]
+ - Parameters [1] {
+ Parameter #0 [ <required> string $integrationName ]
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function DDTrace\consume_distributed_tracing_headers ] {
+ Function [ <internal:ddtrace> function DDTrace\Config\integration_analytics_sample_rate ] {
- Parameters [1] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> string $integrationName ]
}
+ - Return [ float ]
}
- Function [ <internal:ddtrace> function dd_trace_reset ] {
+ Function [ <internal:ddtrace> function DDTrace\Testing\trigger_error ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> string $message ]
+ Parameter #1 [ <required> int $errorType ]
}
+ - Return [ void ]
}
- Function [ <internal:ddtrace> function dd_trace_send_traces_via_thread ] {
+ Function [ <internal:ddtrace> function dd_trace_env_config ] {
- - Parameters [3] {
- Parameter #0 [ <required> $url ]
- Parameter #1 [ <required> $http_headers ]
- Parameter #2 [ <required> $body ]
+ - Parameters [1] {
+ Parameter #0 [ <required> string $envName ]
}
+ - Return [ mixed ]
}
- Function [ <internal:ddtrace> function dd_trace_serialize_closed_spans ] {
+ Function [ <internal:ddtrace> function dd_trace_disable_in_request ] {
- Parameters [0] {
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function dd_trace_serialize_msgpack ] {
+ Function [ <internal:ddtrace> function dd_trace_reset ] {
- - Parameters [1] {
- Parameter #0 [ <required> $trace_array ]
+ - Parameters [0] {
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function dd_trace_set_trace_id ] {
+ Function [ <internal:ddtrace> function dd_trace_serialize_msgpack ] {
- Parameters [1] {
- Parameter #0 [ <required> $trace_id ]
+ Parameter #0 [ <required> array $traceArray ]
}
+ - Return [ string|bool ]
}
- Function [ <internal:ddtrace> function dd_trace_tracer_is_limited ] {
+ Function [ <internal:ddtrace> function dd_trace_noop ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> mixed ...$args ]
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function dd_tracer_circuit_breaker_can_try ] {
+ Function [ <internal:ddtrace> function dd_trace_dd_get_memory_limit ] {
- Parameters [0] {
}
+ - Return [ int ]
}
- Function [ <internal:ddtrace> function dd_tracer_circuit_breaker_info ] {
+ Function [ <internal:ddtrace> function dd_trace_check_memory_under_limit ] {
- Parameters [0] {
}
+ - Return [ bool ]
}
Function [ <internal:ddtrace> function dd_tracer_circuit_breaker_register_error ] {
- Parameters [0] {
}
+ - Return [ bool ]
}
Function [ <internal:ddtrace> function dd_tracer_circuit_breaker_register_success ] {
- Parameters [0] {
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function dd_untrace ] {
+ Function [ <internal:ddtrace> function dd_tracer_circuit_breaker_can_try ] {
- - Parameters [2] {
- Parameter #0 [ <required> $function_name ]
- Parameter #1 [ <optional> $class_name = <default> ]
+ - Parameters [0] {
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function dd_trace_compile_time_microseconds ] {
+ Function [ <internal:ddtrace> function dd_tracer_circuit_breaker_info ] {
- Parameters [0] {
}
+ - Return [ array ]
}
Function [ <internal:ddtrace> function ddtrace_config_app_name ] {
- Parameters [1] {
- Parameter #0 [ <optional> $default_name = <default> ]
+ Parameter #0 [ <optional> ?string $fallbackName = null ]
}
+ - Return [ ?string ]
}
Function [ <internal:ddtrace> function ddtrace_config_distributed_tracing_enabled ] {
- Parameters [0] {
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function ddtrace_config_integration_enabled ] {
+ Function [ <internal:ddtrace> function ddtrace_config_trace_enabled ] {
- - Parameters [1] {
- Parameter #0 [ <required> $integration_name ]
+ - Parameters [0] {
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function ddtrace_config_trace_enabled ] {
+ Function [ <internal:ddtrace> function ddtrace_config_integration_enabled ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <required> string $integrationName ]
}
+ - Return [ bool ]
}
Function [ <internal:ddtrace> function ddtrace_init ] {
- Parameters [1] {
- Parameter #0 [ <required> $dir ]
+ Parameter #0 [ <required> string $dir ]
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function DDTrace\add_global_tag ] {
+ Function [ <internal:ddtrace> function dd_trace_send_traces_via_thread ] {
- - Parameters [2] {
- Parameter #0 [ <required> $key ]
- Parameter #1 [ <required> $value ]
+ - Parameters [3] {
+ Parameter #0 [ <required> int $numTraces ]
+ Parameter #1 [ <required> array $curlHeaders ]
+ Parameter #2 [ <required> string $payload ]
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function DDTrace\add_distributed_tag ] {
+ Function [ <internal:ddtrace> function dd_trace_buffer_span ] {
- - Parameters [2] {
- Parameter #0 [ <required> $key ]
- Parameter #1 [ <required> $value ]
+ - Parameters [1] {
+ Parameter #0 [ <required> array $traceArray ]
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function DDTrace\additional_trace_meta ] {
+ Function [ <internal:ddtrace> function dd_trace_coms_trigger_writer_flush ] {
- Parameters [0] {
}
+ - Return [ int ]
}
- Function [ <internal:ddtrace> function DDTrace\trace_function ] {
+ Function [ <internal:ddtrace> function dd_trace_internal_fn ] {
- Parameters [2] {
- Parameter #0 [ <required> $function_name ]
- Parameter #1 [ <required> $tracing_closure ]
+ Parameter #0 [ <required> string $functionName ]
+ Parameter #1 [ <optional> mixed ...$args ]
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function dd_trace_function ] {
+ Function [ <internal:ddtrace> function dd_trace_set_trace_id ] {
- - Parameters [2] {
- Parameter #0 [ <required> $function_name ]
- Parameter #1 [ <required> $tracing_closure ]
+ - Parameters [1] {
+ Parameter #0 [ <optional> ?string $traceId = null ]
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function DDTrace\trace_method ] {
+ Function [ <internal:ddtrace> function dd_trace_closed_spans_count ] {
- - Parameters [3] {
- Parameter #0 [ <required> $class_name ]
- Parameter #1 [ <required> $method_name ]
- Parameter #2 [ <required> $tracing_closure ]
+ - Parameters [0] {
}
+ - Return [ int ]
}
- Function [ <internal:ddtrace> function dd_trace_method ] {
+ Function [ <internal:ddtrace> function dd_trace_tracer_is_limited ] {
- - Parameters [3] {
- Parameter #0 [ <required> $class_name ]
- Parameter #1 [ <required> $method_name ]
- Parameter #2 [ <required> $tracing_closure ]
+ - Parameters [0] {
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function DDTrace\hook_function ] {
+ Function [ <internal:ddtrace> function dd_trace_compile_time_microseconds ] {
- - Parameters [3] {
- Parameter #0 [ <required> $function_name ]
- Parameter #1 [ <optional> $prehook = <default> ]
- Parameter #2 [ <optional> $posthook = <default> ]
+ - Parameters [0] {
}
+ - Return [ int ]
}
- Function [ <internal:ddtrace> function DDTrace\hook_method ] {
+ Function [ <internal:ddtrace> function dd_trace_serialize_closed_spans ] {
- - Parameters [4] {
- Parameter #0 [ <required> $class_name ]
- Parameter #1 [ <required> $method_name ]
- Parameter #2 [ <optional> $prehook = <default> ]
- Parameter #3 [ <optional> $posthook = <default> ]
+ - Parameters [0] {
}
+ - Return [ array ]
}
- Function [ <internal:ddtrace> function DDTrace\startup_logs ] {
+ Function [ <internal:ddtrace> function dd_trace_peek_span_id ] {
- Parameters [0] {
}
+ - Return [ string ]
}
- Function [ <internal:ddtrace> function DDTrace\find_active_exception ] {
+ Function [ <internal:ddtrace> function dd_trace_function ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> string $functionName ]
+ Parameter #1 [ <required> Closure|array|null $tracingClosureOrConfigArray ]
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function DDTrace\get_priority_sampling ] {
+ Function [ <internal:ddtrace> function dd_trace_method ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $global = <default> ]
+ - Parameters [3] {
+ Parameter #0 [ <required> string $className ]
+ Parameter #1 [ <required> string $methodName ]
+ Parameter #2 [ <required> Closure|array|null $tracingClosureOrConfigArray ]
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function DDTrace\set_priority_sampling ] {
+ Function [ <internal:ddtrace> function dd_untrace ] {
- Parameters [2] {
- Parameter #0 [ <required> $priority ]
- Parameter #1 [ <optional> $global = <default> ]
+ Parameter #0 [ <required> string $functionName ]
+ Parameter #1 [ <optional> string $className = null ]
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function DDTrace\extract_ip_from_headers ] {
+ Function [ <internal, deprecated:ddtrace> function dd_trace_forward_call ] {
- - Parameters [1] {
- Parameter #0 [ <required> $headers ]
+ - Parameters [0] {
}
+ - Return [ bool ]
}
- Function [ <internal:ddtrace> function DDTrace\Config\integration_analytics_enabled ] {
+ Function [ <internal, deprecated:ddtrace> function dd_trace_generate_id ] {
- Parameters [1] {
- Parameter #0 [ <required> $integration_name ]
+ Parameter #0 [ <required> string $existingID ]
}
+ - Return [ string ]
}
- Function [ <internal:ddtrace> function DDTrace\Config\integration_analytics_sample_rate ] {
+ Function [ <internal, deprecated:ddtrace> function dd_trace_push_span_id ] {
- Parameters [1] {
- Parameter #0 [ <required> $integration_name ]
+ Parameter #0 [ <required> string $existingID ]
}
+ - Return [ string ]
}
- Function [ <internal:ddtrace> function DDTrace\System\container_id ] {
+ Function [ <internal, deprecated:ddtrace> function dd_trace_pop_span_id ] {
- Parameters [0] {
}
+ - Return [ string ]
}
- Function [ <internal:ddtrace> function DDTrace\Testing\trigger_error ] {
+ Function [ <internal, deprecated:ddtrace> function additional_trace_meta ] {
- - Parameters [2] {
- Parameter #0 [ <required> $level ]
- Parameter #1 [ <required> $message ]
+ - Parameters [0] {
}
+ - Return [ array ]
}
Function [ <internal:ddtrace> function DDTrace\install_hook ] {
- Parameters [3] {
Parameter #0 [ <required> Closure|Generator|string $target ]
- Parameter #1 [ <required> ?Closure $begin ]
- Parameter #2 [ <required> ?Closure $end ]
+ Parameter #1 [ <optional> ?Closure $begin = null ]
+ Parameter #2 [ <optional> ?Closure $end = null ]
}
- Return [ int ]
}
@@ -1032,14 +1155,37 @@ Extension [ <persistent> extension #121 ddtrace version 0.84.0 ] {
}
- Properties [5] {
+ Property [ public mixed $data ]
Property [ public int $id ]
Property [ public array $args ]
Property [ public mixed $returned ]
Property [ public ?Throwable $exception ]
- Property [ public mixed $data ]
}
- - Methods [0] {
+ - Methods [3] {
+ Method [ <internal:ddtrace> public method span ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> DDTrace\SpanStack|DDTrace\SpanData|null $parent = null ]
+ }
+ - Return [ DDTrace\SpanData ]
+ }
+
+ Method [ <internal:ddtrace> public method unlimitedSpan ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> DDTrace\SpanStack|DDTrace\SpanData|null $parent = null ]
+ }
+ - Return [ DDTrace\SpanData ]
+ }
+
+ Method [ <internal:ddtrace> public method overrideArguments ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $arguments ]
+ }
+ - Return [ bool ]
+ }
}
}
@@ -1085,16 +1231,16 @@ Extension [ <persistent> extension #121 ddtrace version 0.84.0 ] {
}
- Properties [10] {
- Property [ public $name = NULL ]
- Property [ public $resource = NULL ]
- Property [ public $service = NULL ]
- Property [ public $type = NULL ]
- Property [ public $meta = NULL ]
- Property [ public $metrics = NULL ]
- Property [ public $exception = NULL ]
- Property [ public $id = NULL ]
- Property [ public $parent = NULL ]
- Property [ public $stack = NULL ]
+ 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 readonly ?DDTrace\SpanData $parent = NULL ]
+ Property [ public readonly DDTrace\SpanStack $stack ]
}
- Methods [2] {
@@ -1102,12 +1248,14 @@ Extension [ <persistent> extension #121 ddtrace version 0.84.0 ] {
- Parameters [0] {
}
+ - Return [ int ]
}
Method [ <internal:ddtrace> public method getStartTime ] {
- Parameters [0] {
}
+ - Return [ int ]
}
}
}
@@ -1124,8 +1272,8 @@ Extension [ <persistent> extension #121 ddtrace version 0.84.0 ] {
}
- Properties [2] {
- Property [ public $parent = NULL ]
- Property [ public $active = NULL ]
+ Property [ public readonly ?DDTrace\SpanStack $parent = NULL ]
+ Property [ public ?DDTrace\SpanData $active = NULL ]
}
- Methods [0] {
diff --git a/php-pecl-datadog-trace.spec b/php-pecl-datadog-trace.spec
index 97f1033..6836a16 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: %{?scl_prefix}php-pecl-datadog-trace
-Version: 0.84.0
+Version: 0.86.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
@@ -251,6 +251,9 @@ fi
%changelog
+* Thu Mar 23 2023 Remi Collet <remi@remirepo.net> - 0.86.0-1
+- update to 0.86.0
+
* Fri Feb 3 2023 Remi Collet <remi@remirepo.net> - 0.84.0-1
- update to 0.84.0