We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I run this in my Dockerfile, it downloads 550 MB of code just for the tracing library. This is larger than my whole app container altogehter!
Dockerfile
RUN curl -LO https://github.com/DataDog/dd-trace-php/releases/latest/download/datadog-setup.php && php datadog-setup.php --php-bin=all --enable-appsec --enable-profiling
Whats wrong?
8.3.13
1.4.2
[PHP Modules] bcmath Core ctype curl datadog-profiling date ddappsec ddtrace dom exif fileinfo filter gd hash iconv imagick intl json libxml mbstring mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_pgsql pdo_sqlite Phar posix random readline redis Reflection session SimpleXML sodium SPL sqlite3 standard tokenizer xml xmlreader xmlwriter Zend OPcache zip zlib [Zend Modules] Zend OPcache datadog-profiling ddappsec ddtrace
phpinfo()
tracer
{ "date": "2024-11-14T06:16:11Z", "os_name": "Linux 39c7a1c9df23 6.5.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 9 22:39:36 UTC 2024 aarch64", "os_version": "6.5.0-15-generic", "version": "1.4.2", "lang": "php", "lang_version": "8.3.9", "env": null, "enabled": true, "service": null, "enabled_cli": true, "agent_url": "http:\/\/localhost:8126", "debug": false, "analytics_enabled": false, "sample_rate": -1, "sampling_rules": [], "tags": [], "service_mapping": [], "distributed_tracing_enabled": true, "dd_version": null, "architecture": "aarch64", "instrumentation_telemetry_enabled": true, "sapi": "fpm-fcgi", "datadog.trace.sources_path": "\/opt\/datadog\/dd-library\/1.4.2\/dd-trace-sources\/src", "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, "enabled_from_env": true, "opcache.file_cache": null, "sidecar_trace_sender": true, "agent_error": "Failed to connect to localhost port 8126 after 0 ms: Couldn't connect to server" }
diagnostics (didnt start the dd agent in another container yet)
Failed to connect to localhost port 8126 after 0 ms: Couldn't connect to server
No response
The text was updated successfully, but these errors were encountered:
We hear you, and we already started working on it: #2951 will ensure that download size is small. (it's 38 MB right now, the largest package.)
Sorry, something went wrong.
No branches or pull requests
Bug report
When I run this in my
Dockerfile
, it downloads 550 MB of code just for the tracing library. This is larger than my whole app container altogehter!Whats wrong?
PHP version
8.3.13
Tracer or profiler version
1.4.2
Installed extensions
Output of
phpinfo()
tracer
diagnostics (didnt start the dd agent in another container yet)
Upgrading from
No response
The text was updated successfully, but these errors were encountered: