summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-04-22 07:24:56 +0200
committerRemi Collet <remi@remirepo.net>2021-04-22 07:24:56 +0200
commitb64e82b1037208580fda8c998539d184f9f402f0 (patch)
tree01b996d353712038bd495a062a0715ee47c204a5
parent566feeb30a549424dfad3f09e25c79fb4b4c3088 (diff)
update to 0.58.0
-rw-r--r--PHPINFO5
-rw-r--r--REFLECTION12
-rw-r--r--php-pecl-datadog-trace.spec8
3 files changed, 20 insertions, 5 deletions
diff --git a/PHPINFO b/PHPINFO
index d902642..5587551 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -7,8 +7,8 @@ For help, check out the documentation at https://docs.datadoghq.com/tracing/lang
(c) Datadog 2020
Datadog tracing support => enabled
-Version => 0.56.0
-DATADOG TRACER CONFIGURATION => {"date":"2021-03-05T05:57:37Z","os_name":"Linux builder.remirepo.net 5.10.19-200.fc33.x86_64 #1 SMP Fri Feb 26 16:21:30 UTC 2021 x86_64","os_version":"5.10.19-200.fc33.x86_64","version":"0.56.0","lang":"php","lang_version":"7.4.16","env":null,"enabled":true,"service":null,"enabled_cli":false,"agent_url":"http://localhost:8126","debug":false,"analytics_enabled":false,"sample_rate":1.000000,"sampling_rules":null,"tags":null,"service_mapping":null,"distributed_tracing_enabled":true,"priority_sampling_enabled":true,"dd_version":null,"architecture":"x86_64","sapi":"cli","ddtrace.request_init_hook":"/usr/share/pear/datadog_trace/bridge/dd_wrap_autoloader.php","open_basedir_configured":false,"uri_fragment_regex":null,"uri_mapping_incoming":null,"uri_mapping_outgoing":null,"auto_flush_enabled":false,"generate_root_span":true,"http_client_split_by_domain":false,"measure_compile_time":true,"report_hostname_on_root_span":false,"traced_internal_functions":null,"auto_prepend_file_configured":false,"integrations_disabled":null,"enabled_from_env":true,"opcache.file_cache":null,"agent_error":"Failed to connect to localhost port 8126: Connection refused"}
+Version => 0.58.0
+DATADOG TRACER CONFIGURATION => {"date":"2021-04-22T05:09:59Z","os_name":"Linux builder.remirepo.net 5.11.14-200.fc33.x86_64 #1 SMP Wed Apr 14 15:25:53 UTC 2021 x86_64","os_version":"5.11.14-200.fc33.x86_64","version":"0.58.0","lang":"php","lang_version":"7.4.16","env":null,"enabled":true,"service":null,"enabled_cli":false,"agent_url":"http://localhost:8126","debug":false,"analytics_enabled":false,"sample_rate":1.000000,"sampling_rules":null,"tags":null,"service_mapping":null,"distributed_tracing_enabled":true,"priority_sampling_enabled":true,"dd_version":null,"architecture":"x86_64","sapi":"cli","ddtrace.request_init_hook":"/usr/share/pear/datadog_trace/bridge/dd_wrap_autoloader.php","open_basedir_configured":false,"uri_fragment_regex":null,"uri_mapping_incoming":null,"uri_mapping_outgoing":null,"auto_flush_enabled":false,"generate_root_span":true,"http_client_split_by_domain":false,"measure_compile_time":true,"report_hostname_on_root_span":false,"traced_internal_functions":null,"auto_prepend_file_configured":false,"integrations_disabled":null,"enabled_from_env":true,"opcache.file_cache":null,"agent_error":"Failed to connect to localhost port 8126: Connection refused"}
Diagnostics
agent_error => Failed to connect to localhost port 8126: Connection refused
@@ -17,3 +17,4 @@ Diagnostic checks => failed
Directive => Local Value => Master Value
ddtrace.disable => Off => Off
ddtrace.request_init_hook => /usr/share/pear/datadog_trace/bridge/dd_wrap_autoloader.php => /usr/share/pear/datadog_trace/bridge/dd_wrap_autoloader.php
+ddtrace.cgroup_file => /proc/self/cgroup => /proc/self/cgroup
diff --git a/REFLECTION b/REFLECTION
index 4c01e2a..1a8a381 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #119 ddtrace version 0.56.0 ] {
+Extension [ <persistent> extension #120 ddtrace version 0.58.0 ] {
- INI {
Entry [ ddtrace.disable <SYSTEM> ]
@@ -7,10 +7,13 @@ Extension [ <persistent> extension #119 ddtrace version 0.56.0 ] {
Entry [ ddtrace.request_init_hook <SYSTEM> ]
Current = '/usr/share/pear/datadog_trace/bridge/dd_wrap_autoloader.php'
}
+ Entry [ ddtrace.cgroup_file <SYSTEM> ]
+ Current = '/proc/self/cgroup'
+ }
}
- Constants [1] {
- Constant [ string DD_TRACE_VERSION ] { 0.56.0 }
+ Constant [ string DD_TRACE_VERSION ] { 0.58.0 }
}
- Functions {
@@ -266,6 +269,11 @@ Extension [ <persistent> extension #119 ddtrace version 0.56.0 ] {
Parameter #0 [ <required> $integration_name ]
}
}
+ Function [ <internal:ddtrace> function DDTrace\System\container_id ] {
+
+ - Parameters [0] {
+ }
+ }
Function [ <internal:ddtrace> function DDTrace\Testing\trigger_error ] {
- Parameters [2] {
diff --git a/php-pecl-datadog-trace.spec b/php-pecl-datadog-trace.spec
index ac727b2..9cb657b 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: %{?sub_prefix}php-pecl-datadog-trace
-Version: 0.56.0
+Version: 0.58.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
@@ -129,6 +129,7 @@ extension=%{pecl_name}.so
; Configuration
;ddtrace.disable = Off
;ddtrace.request_init_hook = '%{pear_phpdir}/datadog_trace/bridge/dd_wrap_autoloader.php'
+;ddtrace.cgroup_file = '/proc/self/cgroup'
EOF
@@ -180,6 +181,8 @@ done
%check
+# Online with "request-replayer"
+rm -rf ?TS/tests/ext/background-sender
# Erratic results
rm ?TS/tests/ext/segfault_backtrace_*.phpt
rm ?TS/tests/ext/sandbox/memory_limit_graceful_bailout.phpt
@@ -265,6 +268,9 @@ fi
%changelog
+* Thu Apr 22 2021 Remi Collet <remi@remirepo.net> - 0.58.0-1
+- update to 0.58.0
+
* Fri Mar 5 2021 Remi Collet <remi@remirepo.net> - 0.56.0-1
- update to 0.56.0