diff options
author | Remi Collet <remi@remirepo.net> | 2024-06-11 10:22:12 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-06-11 10:22:12 +0200 |
commit | 1d3345a906e39073d5959075cd24eabc278d681f (patch) | |
tree | 134111cb69f6008b6978596f9c27a3ec059cd08f | |
parent | 05f94874b4d7b4415a77f27ae11e45f9f45210bb (diff) |
update to 1.1.0
-rw-r--r-- | PHPINFO | 16 | ||||
-rw-r--r-- | REFLECTION | 75 | ||||
-rw-r--r-- | php-pecl-datadog-trace.spec | 12 |
3 files changed, 88 insertions, 15 deletions
@@ -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 => 1.0.0beta1 +Version => 1.1.0 DATADOG TRACER CONFIGURATION => { - "date": "2024-04-17T09:23:00Z", - "os_name": "Linux builder.remirepo.net 6.8.5-201.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 11 18:25:26 UTC 2024 x86_64", - "os_version": "6.8.5-201.fc39.x86_64", - "version": "1.0.0beta1", + "date": "2024-06-11T06:03:18Z", + "os_name": "Linux builder.remirepo.net 6.8.11-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sun May 26 20:05:41 UTC 2024 x86_64", + "os_version": "6.8.11-200.fc39.x86_64", + "version": "1.1.0", "lang": "php", - "lang_version": "8.2.18", + "lang_version": "8.2.20", "env": null, "enabled": true, "service": null, @@ -29,6 +29,7 @@ DATADOG TRACER CONFIGURATION => { "distributed_tracing_enabled": true, "dd_version": null, "architecture": "x86_64", + "instrumentation_telemetry_enabled": true, "sapi": "cli", "datadog.trace.sources_path": "\/usr\/share\/pear\/datadog_trace\/src\/", "open_basedir_configured": false, @@ -43,6 +44,7 @@ DATADOG TRACER CONFIGURATION => { "traced_internal_functions": null, "enabled_from_env": false, "opcache.file_cache": null, + "sidecar_trace_sender": false, "agent_error": "Failed to connect to localhost port 8126 after 0 ms: Couldn't connect to server" } @@ -135,6 +137,7 @@ 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.buffer_size => 2097152 => 2097152 datadog.trace.agent_max_payload_size => 52428800 => 52428800 datadog.trace.agent_stack_initial_size => 131072 => 131072 datadog.trace.agent_stack_backlog => 12 => 12 @@ -142,6 +145,7 @@ datadog.trace.propagate_user_id_default => Off => Off datadog.dbm_propagation_mode => disabled => disabled datadog.trace.wordpress_additional_actions => no value => no value datadog.trace.wordpress_callbacks => On => On +datadog.integration_metrics_enabled => On => On datadog.trace.otel_enabled => Off => Off datadog.trace.log_file => no value => no value datadog.trace.log_level => error => error @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #68 ddtrace version 1.0.0beta1 ] { +Extension [ <persistent> extension #108 ddtrace version 1.1.0 ] { - Dependencies { Dependency [ json (Required) ] @@ -13,7 +13,7 @@ Extension [ <persistent> extension #68 ddtrace version 1.0.0beta1 ] { Current = '/proc/self/cgroup' } Entry [ datadog.trace.sidecar_trace_sender <SYSTEM> ] - Current = 'false' + Current = '0' } Entry [ datadog.trace.sources_path <SYSTEM> ] Current = '/usr/share/pear/datadog_trace/src/' @@ -271,6 +271,9 @@ Extension [ <persistent> extension #68 ddtrace version 1.0.0beta1 ] { Entry [ datadog.trace.hook_limit <ALL> ] Current = '100' } + Entry [ datadog.trace.buffer_size <SYSTEM> ] + Current = '2097152' + } Entry [ datadog.trace.agent_max_payload_size <SYSTEM> ] Current = '52428800' } @@ -292,6 +295,9 @@ Extension [ <persistent> extension #68 ddtrace version 1.0.0beta1 ] { Entry [ datadog.trace.wordpress_callbacks <ALL> ] Current = 'true' } + Entry [ datadog.integration_metrics_enabled <ALL> ] + Current = 'true' + } Entry [ datadog.trace.otel_enabled <ALL> ] Current = 'false' } @@ -857,7 +863,7 @@ Extension [ <persistent> extension #68 ddtrace version 1.0.0beta1 ] { 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.0.0beta1 } + Constant [ string DD_TRACE_VERSION ] { 1.1.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 } @@ -1092,6 +1098,51 @@ Extension [ <persistent> extension #68 ddtrace version 1.0.0beta1 ] { } - Return [ void ] } + Function [ <internal:ddtrace> function DDTrace\dogstatsd_count ] { + + - Parameters [3] { + Parameter #0 [ <required> string $metric ] + Parameter #1 [ <required> int $value ] + Parameter #2 [ <optional> array $tags = [] ] + } + - Return [ void ] + } + Function [ <internal:ddtrace> function DDTrace\dogstatsd_distribution ] { + + - Parameters [3] { + Parameter #0 [ <required> string $metric ] + Parameter #1 [ <required> float $value ] + Parameter #2 [ <optional> array $tags = [] ] + } + - Return [ void ] + } + Function [ <internal:ddtrace> function DDTrace\dogstatsd_gauge ] { + + - Parameters [3] { + Parameter #0 [ <required> string $metric ] + Parameter #1 [ <required> float $value ] + Parameter #2 [ <optional> array $tags = [] ] + } + - Return [ void ] + } + Function [ <internal:ddtrace> function DDTrace\dogstatsd_histogram ] { + + - Parameters [3] { + Parameter #0 [ <required> string $metric ] + Parameter #1 [ <required> float $value ] + Parameter #2 [ <optional> array $tags = [] ] + } + - Return [ void ] + } + Function [ <internal:ddtrace> function DDTrace\dogstatsd_set ] { + + - Parameters [3] { + Parameter #0 [ <required> string $metric ] + Parameter #1 [ <required> int $value ] + Parameter #2 [ <optional> array $tags = [] ] + } + - Return [ void ] + } Function [ <internal:ddtrace> function DDTrace\System\container_id ] { - Parameters [0] { @@ -1161,6 +1212,12 @@ Extension [ <persistent> extension #68 ddtrace version 1.0.0beta1 ] { } - Return [ void ] } + Function [ <internal:ddtrace> function DDTrace\Internal\handle_fork ] { + + - Parameters [0] { + } + - Return [ void ] + } Function [ <internal:ddtrace> function dd_trace_env_config ] { - Parameters [1] { @@ -1325,14 +1382,14 @@ Extension [ <persistent> extension #68 ddtrace version 1.0.0beta1 ] { - Parameters [2] { Parameter #0 [ <required> string $functionName ] - Parameter #1 [ <optional> string $className = null ] + Parameter #1 [ <optional> ?string $className = null ] } - Return [ bool ] } Function [ <internal:ddtrace> function dd_trace_synchronous_flush ] { - Parameters [1] { - Parameter #0 [ <required> int $timeout ] + Parameter #0 [ <optional> int $timeout = 100 ] } - Return [ void ] } @@ -1487,10 +1544,12 @@ Extension [ <persistent> extension #68 ddtrace version 1.0.0beta1 ] { - Static methods [0] { } - - Properties [12] { + - Properties [14] { Property [ public ?string $name = '' ] Property [ public ?string $resource = '' ] Property [ public ?string $service = '' ] + Property [ public string $env = '' ] + Property [ public string $version = '' ] Property [ public ?string $type = '' ] Property [ public array $meta = [] ] Property [ public array $metrics = [] ] @@ -1544,10 +1603,12 @@ Extension [ <persistent> extension #68 ddtrace version 1.0.0beta1 ] { - Static methods [0] { } - - Properties [20] { + - Properties [22] { Property [ public ?string $name = '' ] Property [ public ?string $resource = '' ] Property [ public ?string $service = '' ] + Property [ public string $env = '' ] + Property [ public string $version = '' ] Property [ public ?string $type = '' ] Property [ public array $meta = [] ] Property [ public array $metrics = [] ] diff --git a/php-pecl-datadog-trace.spec b/php-pecl-datadog-trace.spec index 5edaae2..b2c634c 100644 --- a/php-pecl-datadog-trace.spec +++ b/php-pecl-datadog-trace.spec @@ -28,8 +28,8 @@ # extension name %global pecl_name ddtrace -%global upstream_version 1.0.0 -%global upstream_prever beta1 +%global upstream_version 1.1.0 +#global upstream_prever beta1 %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini %global sources %{proj_name}-%{upstream_version}%{?upstream_prever} @@ -72,6 +72,11 @@ BuildRequires: %{?scl_prefix}php-posix #BuildRequires: gdb #BuildRequires: %%{?scl_prefix}php-debuginfo #BuildRequires: %%{?scl_prefix}php-debugsource +%if 0%{?fedora} >= 40 +# TODO need investigation +BuildRequires: gmp +BuildRequires: libssh2 +%endif Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} @@ -299,6 +304,9 @@ fi %changelog +* Tue Jun 11 2024 Remi Collet <remi@remirepo.net> - 1.1.0-1 +- update to 1.1.0 + * Wed Apr 17 2024 Remi Collet <remi@remirepo.net> - 1.0.0~beta1-1 - update to 1.0.0beta1 |