diff options
| -rw-r--r-- | PHPINFO | 46 | ||||
| -rw-r--r-- | REFLECTION | 68 | ||||
| -rw-r--r-- | php-pecl-datadog-trace.spec | 5 | 
3 files changed, 97 insertions, 22 deletions
@@ -7,8 +7,47 @@ For help, check out the documentation at https://docs.datadoghq.com/tracing/lang  (c) Datadog 2020  Datadog tracing support => disabled -Version => 0.80.0 -DATADOG TRACER CONFIGURATION => {"date":"2022-09-29T06:33:22Z","os_name":"Linux builder.remirepo.net 5.19.11-100.fc35.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Sep 23 15:28:45 UTC 2022 x86_64","os_version":"5.19.11-100.fc35.x86_64","version":"0.80.0","lang":"php","lang_version":"8.0.24","env":null,"enabled":true,"service":null,"enabled_cli":false,"agent_url":"http:\/\/localhost:8126","debug":false,"analytics_enabled":false,"sample_rate":1,"sampling_rules":[],"tags":[],"service_mapping":[],"distributed_tracing_enabled":true,"priority_sampling_enabled":true,"dd_version":null,"architecture":"x86_64","sapi":"cli","datadog.trace.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":"default","enabled_from_env":false,"opcache.file_cache":null,"agent_error":"Failed to connect to localhost port 8126 after 0 ms: Connexion refus\u00e9e"} +Version => 0.81.0 +DATADOG TRACER CONFIGURATION => { +    "date": "2022-11-02T12:54:08Z", +    "os_name": "Linux builder.remirepo.net 6.0.5-100.fc35.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 26 16:27:59 UTC 2022 x86_64", +    "os_version": "6.0.5-100.fc35.x86_64", +    "version": "0.81.0", +    "lang": "php", +    "lang_version": "8.0.25", +    "env": null, +    "enabled": true, +    "service": null, +    "enabled_cli": false, +    "agent_url": "http:\/\/localhost:8126", +    "debug": false, +    "analytics_enabled": false, +    "sample_rate": 1, +    "sampling_rules": [], +    "tags": [], +    "service_mapping": [], +    "distributed_tracing_enabled": true, +    "priority_sampling_enabled": true, +    "dd_version": null, +    "architecture": "x86_64", +    "sapi": "cli", +    "datadog.trace.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": "default", +    "enabled_from_env": false, +    "opcache.file_cache": null, +    "agent_error": "Failed to connect to localhost port 8126 after 0 ms: Connexion refus\u00e9e" +}  Directive => Local Value => Master Value  ddtrace.disable => Off => Off @@ -49,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.rate_limit => 0 => 0  datadog.trace.sample_rate => 1 => 1  datadog.sampling_rate => 1 => 1  datadog.trace.sampling_rules => [] => [] @@ -81,8 +121,6 @@ datadog.trace.warn_legacy_dd_trace => On => On  datadog.trace.retain_thread_capabilities => Off => Off  datadog.version => no value => no value  datadog.trace.obfuscation_query_string_regexp => (?i)(?:p(?:ass)?w(?:or)?d|pass(?:_?phrase)?|secret|(?:api_?|private_?|public_?|access_?|secret_?)key(?:_?id)?|token|consumer_?(?:id|key|secret)|sign(?:ed|ature)?|auth(?:entication|orization)?)(?:(?:\s|%20)*(?:=|%3D)[^&]+|(?:"|%22)(?:\s|%20)*(?::|%3A)(?:\s|%20)*(?:"|%22)(?:%2[^2]|%[^2]|[^"%])+(?:"|%22))|bearer(?:\s|%20)+[a-z0-9\._\-]|token(?::|%3A)[a-z0-9]{13}|gh[opsu]_[0-9a-zA-Z]{36}|ey[I-L](?:[\w=-]|%3D)+\.ey[I-L](?:[\w=-]|%3D)+(?:\.(?:[\w.+\/=-]|%3D|%2F|%2B)+)?|[\-]{5}BEGIN(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY[\-]{5}[^\-]+[\-]{5}END(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY|ssh-rsa(?:\s|%20)*(?:[a-z0-9\/\.+]|%2F|%5C|%2B){100,} => (?i)(?:p(?:ass)?w(?:or)?d|pass(?:_?phrase)?|secret|(?:api_?|private_?|public_?|access_?|secret_?)key(?:_?id)?|token|consumer_?(?:id|key|secret)|sign(?:ed|ature)?|auth(?:entication|orization)?)(?:(?:\s|%20)*(?:=|%3D)[^&]+|(?:"|%22)(?:\s|%20)*(?::|%3A)(?:\s|%20)*(?:"|%22)(?:%2[^2]|%[^2]|[^"%])+(?:"|%22))|bearer(?:\s|%20)+[a-z0-9\._\-]|token(?::|%3A)[a-z0-9]{13}|gh[opsu]_[0-9a-zA-Z]{36}|ey[I-L](?:[\w=-]|%3D)+\.ey[I-L](?:[\w=-]|%3D)+(?:\.(?:[\w.+\/=-]|%3D|%2F|%2B)+)?|[\-]{5}BEGIN(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY[\-]{5}[^\-]+[\-]{5}END(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY|ssh-rsa(?:\s|%20)*(?:[a-z0-9\/\.+]|%2F|%5C|%2B){100,} -datadog.trace.client_ip_header_disabled => Off => Off -datadog.trace.client_ip_header => no value => no value  datadog.trace.forked_process => On => On  datadog.trace.agent_max_payload_size => 52428800 => 52428800  datadog.trace.agent_stack_initial_size => 131072 => 131072 @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #120 ddtrace version 0.80.0 ] { +Extension [ <persistent> extension #122 ddtrace version 0.81.0 ] {    - Dependencies {      Dependency [ json (Required) ] @@ -121,6 +121,9 @@ Extension [ <persistent> extension #120 ddtrace version 0.80.0 ] {      Entry [ datadog.trace.http_url_query_param_allowed <ALL> ]        Current = '*'      } +    Entry [ datadog.trace.rate_limit <SYSTEM> ] +      Current = '0' +    }      Entry [ datadog.trace.sample_rate <ALL> ]        Current = '1'      } @@ -217,12 +220,6 @@ Extension [ <persistent> extension #120 ddtrace version 0.80.0 ] {      Entry [ datadog.trace.obfuscation_query_string_regexp <ALL> ]        Current = '(?i)(?:p(?:ass)?w(?:or)?d|pass(?:_?phrase)?|secret|(?:api_?|private_?|public_?|access_?|secret_?)key(?:_?id)?|token|consumer_?(?:id|key|secret)|sign(?:ed|ature)?|auth(?:entication|orization)?)(?:(?:\s|%20)*(?:=|%3D)[^&]+|(?:"|%22)(?:\s|%20)*(?::|%3A)(?:\s|%20)*(?:"|%22)(?:%2[^2]|%[^2]|[^"%])+(?:"|%22))|bearer(?:\s|%20)+[a-z0-9\._\-]|token(?::|%3A)[a-z0-9]{13}|gh[opsu]_[0-9a-zA-Z]{36}|ey[I-L](?:[\w=-]|%3D)+\.ey[I-L](?:[\w=-]|%3D)+(?:\.(?:[\w.+\/=-]|%3D|%2F|%2B)+)?|[\-]{5}BEGIN(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY[\-]{5}[^\-]+[\-]{5}END(?:[a-z\s]|%20)+PRIVATE(?:\s|%20)KEY|ssh-rsa(?:\s|%20)*(?:[a-z0-9\/\.+]|%2F|%5C|%2B){100,}'      } -    Entry [ datadog.trace.client_ip_header_disabled <ALL> ] -      Current = 'false' -    } -    Entry [ datadog.trace.client_ip_header <ALL> ] -      Current = '' -    }      Entry [ datadog.trace.forked_process <ALL> ]        Current = 'true'      } @@ -583,7 +580,7 @@ Extension [ <persistent> extension #120 ddtrace version 0.80.0 ] {    }    - Constants [7] { -    Constant [ string DD_TRACE_VERSION ] { 0.80.0 } +    Constant [ string DD_TRACE_VERSION ] { 0.81.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 } @@ -678,6 +675,12 @@ Extension [ <persistent> extension #120 ddtrace version 0.80.0 ] {          Parameter #0 [ <optional> $start_time = <default> ]        }      } +    Function [ <internal:ddtrace> function DDTrace\start_trace_span ] { + +      - Parameters [1] { +        Parameter #0 [ <optional> $start_time = <default> ] +      } +    }      Function [ <internal:ddtrace> function DDTrace\close_span ] {        - Parameters [1] { @@ -694,6 +697,22 @@ Extension [ <persistent> extension #120 ddtrace version 0.80.0 ] {        - Parameters [0] {        }      } +    Function [ <internal:ddtrace> function DDTrace\active_stack ] { + +      - Parameters [0] { +      } +    } +    Function [ <internal:ddtrace> function DDTrace\create_stack ] { + +      - Parameters [0] { +      } +    } +    Function [ <internal:ddtrace> function DDTrace\switch_stack ] { + +      - Parameters [1] { +        Parameter #0 [ <optional> $stack = <default> ] +      } +    }      Function [ <internal:ddtrace> function dd_trace_peek_span_id ] {        - Parameters [0] { @@ -932,12 +951,6 @@ Extension [ <persistent> extension #120 ddtrace version 0.80.0 ] {          Parameter #1 [ <required> $message ]        }      } -    Function [ <internal:ddtrace> function DDTrace\Testing\extract_ip_from_headers ] { - -      - Parameters [1] { -        Parameter #0 [ <required> $headers ] -      } -    }      Function [ <internal:ddtrace> function DDTrace\install_hook ] {        - Parameters [3] { @@ -956,7 +969,7 @@ Extension [ <persistent> extension #120 ddtrace version 0.80.0 ] {      }    } -  - Classes [3] { +  - Classes [4] {      Class [ <internal:ddtrace> class DDTrace\HookData ] {        - Constants [0] { @@ -991,7 +1004,7 @@ Extension [ <persistent> extension #120 ddtrace version 0.80.0 ] {        - Static methods [0] {        } -      - Properties [9] { +      - Properties [10] {          Property [ public $name = NULL ]          Property [ public $resource = NULL ]          Property [ public $service = NULL ] @@ -999,8 +1012,9 @@ Extension [ <persistent> extension #120 ddtrace version 0.80.0 ] {          Property [ public $meta = NULL ]          Property [ public $metrics = NULL ]          Property [ public $exception = NULL ] -        Property [ public $parent = NULL ]          Property [ public $id = NULL ] +        Property [ public $parent = NULL ] +        Property [ public $stack = NULL ]        }        - Methods [2] { @@ -1018,6 +1032,26 @@ Extension [ <persistent> extension #120 ddtrace version 0.80.0 ] {        }      } +    Class [ <internal:ddtrace> class DDTrace\SpanStack ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [2] { +        Property [ public $parent = NULL ] +        Property [ public $active = NULL ] +      } + +      - Methods [0] { +      } +    } +      Class [ <internal:ddtrace> class DDTrace\FatalError extends Exception implements Throwable, Stringable ] {        - Constants [0] { diff --git a/php-pecl-datadog-trace.spec b/php-pecl-datadog-trace.spec index bc2e627..c08f7cf 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.80.0 +Version:        0.81.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 @@ -250,6 +250,9 @@ fi  %changelog +* Wed Nov  2 2022 Remi Collet <remi@remirepo.net> - 0.81.0-1 +- update to 0.81.0 +  * Thu Sep 29 2022 Remi Collet <remi@remirepo.net> - 0.80.0-1  - update to 0.80.0  | 
