From 9c43edb5532963f7604cd62c0521d6543ed20a48 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 23 Mar 2023 15:58:07 +0100 Subject: update to 0.86.0 --- PHPINFO | 26 ++- REFLECTION | 484 +++++++++++++++++++++++++++++--------------- php-pecl-datadog-trace.spec | 5 +- 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 [ extension #121 ddtrace version 0.84.0 ] { +Extension [ extension #121 ddtrace version 0.86.0 ] { - Dependencies { Dependency [ json (Required) ] @@ -121,6 +121,9 @@ Extension [ extension #121 ddtrace version 0.84.0 ] { Entry [ datadog.trace.http_url_query_param_allowed ] Current = '*' } + Entry [ datadog.trace.http_post_data_param_allowed ] + Current = '' + } Entry [ datadog.trace.rate_limit ] Current = '0' } @@ -241,6 +244,9 @@ Extension [ extension #121 ddtrace version 0.84.0 ] { Entry [ datadog.trace.forked_process ] Current = 'true' } + Entry [ datadog.trace.hook_limit ] + Current = '100' + } Entry [ datadog.trace.agent_max_payload_size ] Current = '52428800' } @@ -250,6 +256,12 @@ Extension [ extension #121 ddtrace version 0.84.0 ] { Entry [ datadog.trace.agent_stack_backlog ] Current = '12' } + Entry [ datadog.trace.propagate_user_id_default ] + Current = 'false' + } + Entry [ datadog.dbm_propagation_mode ] + Current = 'disabled' + } Entry [ datadog.trace.cakephp_enabled ] Current = 'true' } @@ -370,6 +382,21 @@ Extension [ extension #121 ddtrace version 0.84.0 ] { Entry [ datadog.lumen_analytics_sample_rate ] Current = '1' } + Entry [ datadog.trace.memcache_enabled ] + Current = 'true' + } + Entry [ datadog.trace.memcache_analytics_enabled ] + Current = '0' + } + Entry [ datadog.memcache_analytics_enabled ] + Current = '0' + } + Entry [ datadog.trace.memcache_analytics_sample_rate ] + Current = '1' + } + Entry [ datadog.memcache_analytics_sample_rate ] + Current = '1' + } Entry [ datadog.trace.memcached_enabled ] Current = 'true' } @@ -505,6 +532,21 @@ Extension [ extension #121 ddtrace version 0.84.0 ] { Entry [ datadog.predis_analytics_sample_rate ] Current = '1' } + Entry [ datadog.trace.psr18_enabled ] + Current = 'true' + } + Entry [ datadog.trace.psr18_analytics_enabled ] + Current = '0' + } + Entry [ datadog.psr18_analytics_enabled ] + Current = '0' + } + Entry [ datadog.trace.psr18_analytics_sample_rate ] + Current = '1' + } + Entry [ datadog.psr18_analytics_sample_rate ] + Current = '1' + } Entry [ datadog.trace.roadrunner_enabled ] Current = 'true' } @@ -612,8 +654,11 @@ Extension [ 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 [ extension #121 ddtrace version 0.84.0 ] { } - Functions { - Function [ function dd_trace ] { + Function [ function DDTrace\trace_method ] { - Parameters [3] { - Parameter #0 [ $class_or_function_name ] - Parameter #1 [ $method_name_or_tracing_closure ] - Parameter #2 [ $tracing_closure = ] + Parameter #0 [ string $className ] + Parameter #1 [ string $methodName ] + Parameter #2 [ Closure|array|null $tracingClosureOrConfigArray ] } + - Return [ bool ] } - Function [ function dd_trace_buffer_span ] { + Function [ function DDTrace\trace_function ] { - - Parameters [1] { - Parameter #0 [ $trace_array ] + - Parameters [2] { + Parameter #0 [ string $functionName ] + Parameter #1 [ Closure|array|null $tracingClosureOrConfigArray ] } + - Return [ bool ] } - Function [ function dd_trace_check_memory_under_limit ] { + Function [ function DDTrace\hook_function ] { - - Parameters [0] { + - Parameters [3] { + Parameter #0 [ string $functionName ] + Parameter #1 [ Closure|array|null $prehookOrConfigArray = null ] + Parameter #2 [ ?Closure $posthook = null ] } + - Return [ bool ] } - Function [ function dd_trace_closed_spans_count ] { + Function [ function DDTrace\hook_method ] { - - Parameters [0] { + - Parameters [4] { + Parameter #0 [ string $className ] + Parameter #1 [ string $methodName ] + Parameter #2 [ Closure|array|null $prehookOrConfigArray = null ] + Parameter #3 [ ?Closure $posthook = null ] } + - Return [ bool ] } - Function [ function dd_trace_coms_trigger_writer_flush ] { + Function [ function DDTrace\add_global_tag ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ string $value ] } + - Return [ void ] } - Function [ function dd_trace_dd_get_memory_limit ] { + Function [ function DDTrace\add_distributed_tag ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ string $value ] } + - Return [ void ] } - Function [ function dd_trace_disable_in_request ] { + Function [ function DDTrace\set_user ] { - - Parameters [0] { + - Parameters [3] { + Parameter #0 [ string $userId ] + Parameter #1 [ array $metadata = [] ] + Parameter #2 [ ?bool $propagate = null ] } + - Return [ void ] } - Function [ function dd_trace_env_config ] { + Function [ function DDTrace\close_spans_until ] { - Parameters [1] { - Parameter #0 [ $env_name ] + Parameter #0 [ ?DDTrace\SpanData $span ] + } + - Return [ int|false ] + } + Function [ function DDTrace\active_span ] { + + - Parameters [0] { } + - Return [ ?DDTrace\SpanData ] } - Function [ function dd_trace_forward_call ] { + Function [ function DDTrace\root_span ] { - Parameters [0] { } + - Return [ ?DDTrace\SpanData ] } - Function [ function dd_trace_generate_id ] { + Function [ function DDTrace\start_span ] { - Parameters [1] { - Parameter #0 [ $existing_id = ] + Parameter #0 [ float $startTime = 0 ] } + - Return [ DDTrace\SpanData|false ] } - Function [ function dd_trace_internal_fn ] { + Function [ function DDTrace\close_span ] { - - Parameters [2] { - Parameter #0 [ $function_name ] - Parameter #1 [ ...$vars ] + - Parameters [1] { + Parameter #0 [ float $finishTime = 0 ] } + - Return [ ?false ] } - Function [ function dd_trace_noop ] { + Function [ function DDTrace\start_trace_span ] { - Parameters [0] { } + - Return [ DDTrace\SpanData ] } - Function [ function DDTrace\flush ] { + Function [ function DDTrace\active_stack ] { - Parameters [0] { } + - Return [ ?DDTrace\SpanStack ] } - Function [ function DDTrace\close_spans_until ] { + Function [ function DDTrace\create_stack ] { - - Parameters [1] { - Parameter #0 [ $until ] + - Parameters [0] { } + - Return [ DDTrace\SpanStack ] } - Function [ function DDTrace\start_span ] { + Function [ function DDTrace\switch_stack ] { - Parameters [1] { - Parameter #0 [ $start_time = ] + Parameter #0 [ DDTrace\SpanData|DDTrace\SpanStack|null $newStack = null ] } + - Return [ DDTrace\SpanStack|false|null ] } - Function [ function DDTrace\start_trace_span ] { + Function [ function DDTrace\set_priority_sampling ] { - - Parameters [1] { - Parameter #0 [ $start_time = ] + - Parameters [2] { + Parameter #0 [ int $priority ] + Parameter #1 [ bool $global = false ] } + - Return [ void ] } - Function [ function DDTrace\close_span ] { + Function [ function DDTrace\get_priority_sampling ] { - Parameters [1] { - Parameter #0 [ $finish_time = ] + Parameter #0 [ bool $global = false ] } + - Return [ ?int ] } - Function [ function DDTrace\active_span ] { + Function [ function DDTrace\get_sanitized_exception_trace ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ Exception|Throwable $exception ] } + - Return [ string ] } - Function [ function DDTrace\root_span ] { + Function [ function DDTrace\consume_distributed_tracing_headers ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ callable $callback ] } + - Return [ void ] } - Function [ function DDTrace\active_stack ] { + Function [ function DDTrace\generate_distributed_tracing_headers ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ array $inject = null ] } + - Return [ array ] } - Function [ function DDTrace\create_stack ] { + Function [ function DDTrace\find_active_exception ] { - Parameters [0] { } + - Return [ ?Throwable ] } - Function [ function DDTrace\switch_stack ] { + Function [ function DDTrace\extract_ip_from_headers ] { - Parameters [1] { - Parameter #0 [ $stack = ] + Parameter #0 [ array $headers ] } + - Return [ array ] } - Function [ function dd_trace_peek_span_id ] { + Function [ function DDTrace\startup_logs ] { - Parameters [0] { } + - Return [ string ] } - Function [ function dd_trace_pop_span_id ] { + Function [ function DDTrace\trace_id ] { - Parameters [0] { } + - Return [ string ] } - Function [ function dd_trace_push_span_id ] { + Function [ function DDTrace\current_context ] { - - Parameters [1] { - Parameter #0 [ $existing_id = ] + - Parameters [0] { } + - Return [ array ] } - Function [ function DDTrace\trace_id ] { + Function [ function DDTrace\set_distributed_tracing_context ] { + + - Parameters [4] { + Parameter #0 [ string $traceId ] + Parameter #1 [ string $parentId ] + Parameter #2 [ ?string $origin = null ] + Parameter #3 [ array|string|null $propagated_tags = null ] + } + - Return [ bool ] + } + Function [ function DDTrace\flush ] { - Parameters [0] { } + - Return [ void ] } - Function [ function DDTrace\current_context ] { + Function [ function DDTrace\System\container_id ] { - Parameters [0] { } + - Return [ ?string ] } - Function [ function DDTrace\set_distributed_tracing_context ] { + Function [ function DDTrace\Config\integration_analytics_enabled ] { - - Parameters [4] { - Parameter #0 [ $trace_id ] - Parameter #1 [ $parent_id ] - Parameter #2 [ $origin = ] - Parameter #3 [ $tags = ] + - Parameters [1] { + Parameter #0 [ string $integrationName ] } + - Return [ bool ] } - Function [ function DDTrace\consume_distributed_tracing_headers ] { + Function [ function DDTrace\Config\integration_analytics_sample_rate ] { - Parameters [1] { - Parameter #0 [ $callback ] + Parameter #0 [ string $integrationName ] } + - Return [ float ] } - Function [ function dd_trace_reset ] { + Function [ function DDTrace\Testing\trigger_error ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ string $message ] + Parameter #1 [ int $errorType ] } + - Return [ void ] } - Function [ function dd_trace_send_traces_via_thread ] { + Function [ function dd_trace_env_config ] { - - Parameters [3] { - Parameter #0 [ $url ] - Parameter #1 [ $http_headers ] - Parameter #2 [ $body ] + - Parameters [1] { + Parameter #0 [ string $envName ] } + - Return [ mixed ] } - Function [ function dd_trace_serialize_closed_spans ] { + Function [ function dd_trace_disable_in_request ] { - Parameters [0] { } + - Return [ bool ] } - Function [ function dd_trace_serialize_msgpack ] { + Function [ function dd_trace_reset ] { - - Parameters [1] { - Parameter #0 [ $trace_array ] + - Parameters [0] { } + - Return [ bool ] } - Function [ function dd_trace_set_trace_id ] { + Function [ function dd_trace_serialize_msgpack ] { - Parameters [1] { - Parameter #0 [ $trace_id ] + Parameter #0 [ array $traceArray ] } + - Return [ string|bool ] } - Function [ function dd_trace_tracer_is_limited ] { + Function [ function dd_trace_noop ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ mixed ...$args ] } + - Return [ bool ] } - Function [ function dd_tracer_circuit_breaker_can_try ] { + Function [ function dd_trace_dd_get_memory_limit ] { - Parameters [0] { } + - Return [ int ] } - Function [ function dd_tracer_circuit_breaker_info ] { + Function [ function dd_trace_check_memory_under_limit ] { - Parameters [0] { } + - Return [ bool ] } Function [ function dd_tracer_circuit_breaker_register_error ] { - Parameters [0] { } + - Return [ bool ] } Function [ function dd_tracer_circuit_breaker_register_success ] { - Parameters [0] { } + - Return [ bool ] } - Function [ function dd_untrace ] { + Function [ function dd_tracer_circuit_breaker_can_try ] { - - Parameters [2] { - Parameter #0 [ $function_name ] - Parameter #1 [ $class_name = ] + - Parameters [0] { } + - Return [ bool ] } - Function [ function dd_trace_compile_time_microseconds ] { + Function [ function dd_tracer_circuit_breaker_info ] { - Parameters [0] { } + - Return [ array ] } Function [ function ddtrace_config_app_name ] { - Parameters [1] { - Parameter #0 [ $default_name = ] + Parameter #0 [ ?string $fallbackName = null ] } + - Return [ ?string ] } Function [ function ddtrace_config_distributed_tracing_enabled ] { - Parameters [0] { } + - Return [ bool ] } - Function [ function ddtrace_config_integration_enabled ] { + Function [ function ddtrace_config_trace_enabled ] { - - Parameters [1] { - Parameter #0 [ $integration_name ] + - Parameters [0] { } + - Return [ bool ] } - Function [ function ddtrace_config_trace_enabled ] { + Function [ function ddtrace_config_integration_enabled ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ string $integrationName ] } + - Return [ bool ] } Function [ function ddtrace_init ] { - Parameters [1] { - Parameter #0 [ $dir ] + Parameter #0 [ string $dir ] } + - Return [ bool ] } - Function [ function DDTrace\add_global_tag ] { + Function [ function dd_trace_send_traces_via_thread ] { - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] + - Parameters [3] { + Parameter #0 [ int $numTraces ] + Parameter #1 [ array $curlHeaders ] + Parameter #2 [ string $payload ] } + - Return [ bool ] } - Function [ function DDTrace\add_distributed_tag ] { + Function [ function dd_trace_buffer_span ] { - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] + - Parameters [1] { + Parameter #0 [ array $traceArray ] } + - Return [ bool ] } - Function [ function DDTrace\additional_trace_meta ] { + Function [ function dd_trace_coms_trigger_writer_flush ] { - Parameters [0] { } + - Return [ int ] } - Function [ function DDTrace\trace_function ] { + Function [ function dd_trace_internal_fn ] { - Parameters [2] { - Parameter #0 [ $function_name ] - Parameter #1 [ $tracing_closure ] + Parameter #0 [ string $functionName ] + Parameter #1 [ mixed ...$args ] } + - Return [ bool ] } - Function [ function dd_trace_function ] { + Function [ function dd_trace_set_trace_id ] { - - Parameters [2] { - Parameter #0 [ $function_name ] - Parameter #1 [ $tracing_closure ] + - Parameters [1] { + Parameter #0 [ ?string $traceId = null ] } + - Return [ bool ] } - Function [ function DDTrace\trace_method ] { + Function [ function dd_trace_closed_spans_count ] { - - Parameters [3] { - Parameter #0 [ $class_name ] - Parameter #1 [ $method_name ] - Parameter #2 [ $tracing_closure ] + - Parameters [0] { } + - Return [ int ] } - Function [ function dd_trace_method ] { + Function [ function dd_trace_tracer_is_limited ] { - - Parameters [3] { - Parameter #0 [ $class_name ] - Parameter #1 [ $method_name ] - Parameter #2 [ $tracing_closure ] + - Parameters [0] { } + - Return [ bool ] } - Function [ function DDTrace\hook_function ] { + Function [ function dd_trace_compile_time_microseconds ] { - - Parameters [3] { - Parameter #0 [ $function_name ] - Parameter #1 [ $prehook = ] - Parameter #2 [ $posthook = ] + - Parameters [0] { } + - Return [ int ] } - Function [ function DDTrace\hook_method ] { + Function [ function dd_trace_serialize_closed_spans ] { - - Parameters [4] { - Parameter #0 [ $class_name ] - Parameter #1 [ $method_name ] - Parameter #2 [ $prehook = ] - Parameter #3 [ $posthook = ] + - Parameters [0] { } + - Return [ array ] } - Function [ function DDTrace\startup_logs ] { + Function [ function dd_trace_peek_span_id ] { - Parameters [0] { } + - Return [ string ] } - Function [ function DDTrace\find_active_exception ] { + Function [ function dd_trace_function ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ string $functionName ] + Parameter #1 [ Closure|array|null $tracingClosureOrConfigArray ] } + - Return [ bool ] } - Function [ function DDTrace\get_priority_sampling ] { + Function [ function dd_trace_method ] { - - Parameters [1] { - Parameter #0 [ $global = ] + - Parameters [3] { + Parameter #0 [ string $className ] + Parameter #1 [ string $methodName ] + Parameter #2 [ Closure|array|null $tracingClosureOrConfigArray ] } + - Return [ bool ] } - Function [ function DDTrace\set_priority_sampling ] { + Function [ function dd_untrace ] { - Parameters [2] { - Parameter #0 [ $priority ] - Parameter #1 [ $global = ] + Parameter #0 [ string $functionName ] + Parameter #1 [ string $className = null ] } + - Return [ bool ] } - Function [ function DDTrace\extract_ip_from_headers ] { + Function [ function dd_trace_forward_call ] { - - Parameters [1] { - Parameter #0 [ $headers ] + - Parameters [0] { } + - Return [ bool ] } - Function [ function DDTrace\Config\integration_analytics_enabled ] { + Function [ function dd_trace_generate_id ] { - Parameters [1] { - Parameter #0 [ $integration_name ] + Parameter #0 [ string $existingID ] } + - Return [ string ] } - Function [ function DDTrace\Config\integration_analytics_sample_rate ] { + Function [ function dd_trace_push_span_id ] { - Parameters [1] { - Parameter #0 [ $integration_name ] + Parameter #0 [ string $existingID ] } + - Return [ string ] } - Function [ function DDTrace\System\container_id ] { + Function [ function dd_trace_pop_span_id ] { - Parameters [0] { } + - Return [ string ] } - Function [ function DDTrace\Testing\trigger_error ] { + Function [ function additional_trace_meta ] { - - Parameters [2] { - Parameter #0 [ $level ] - Parameter #1 [ $message ] + - Parameters [0] { } + - Return [ array ] } Function [ function DDTrace\install_hook ] { - Parameters [3] { Parameter #0 [ Closure|Generator|string $target ] - Parameter #1 [ ?Closure $begin ] - Parameter #2 [ ?Closure $end ] + Parameter #1 [ ?Closure $begin = null ] + Parameter #2 [ ?Closure $end = null ] } - Return [ int ] } @@ -1032,14 +1155,37 @@ Extension [ 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 [ public method span ] { + + - Parameters [1] { + Parameter #0 [ DDTrace\SpanStack|DDTrace\SpanData|null $parent = null ] + } + - Return [ DDTrace\SpanData ] + } + + Method [ public method unlimitedSpan ] { + + - Parameters [1] { + Parameter #0 [ DDTrace\SpanStack|DDTrace\SpanData|null $parent = null ] + } + - Return [ DDTrace\SpanData ] + } + + Method [ public method overrideArguments ] { + + - Parameters [1] { + Parameter #0 [ array $arguments ] + } + - Return [ bool ] + } } } @@ -1085,16 +1231,16 @@ Extension [ 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 [ extension #121 ddtrace version 0.84.0 ] { - Parameters [0] { } + - Return [ int ] } Method [ public method getStartTime ] { - Parameters [0] { } + - Return [ int ] } } } @@ -1124,8 +1272,8 @@ Extension [ 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 - 0.86.0-1 +- update to 0.86.0 + * Fri Feb 3 2023 Remi Collet - 0.84.0-1 - update to 0.84.0 -- cgit