Conversation
|
|
||
| RUN sed -i 's/extension = ddtrace\.so/extension = \/opt\/bref-extra\/ddtrace.so/' /tmp/ext.ini && \ | ||
| sed -i 's/extension = datadog-profiling\.so/extension = \/opt\/bref-extra\/datadog-profiling.so/' /tmp/ext.ini && \ | ||
| sed -i 's/extension = ddappsec\.so/\/opt\/bref-extra\/ddappsec.so/' /tmp/ext.ini && \ |
There was a problem hiding this comment.
Another solution could be to simply disable loading the extension, but it looks the datadog-setup script assumes this extension is always there: https://github.com/DataDog/dd-trace-php/blob/master/datadog-setup.php#L577-L580
Possible related: DataDog/dd-trace-php#2014
| sed -i 's/extension = ddappsec\.so/\/opt\/bref-extra\/ddappsec.so/' /tmp/ext.ini && \ | |
| sed -i 's/extension = ddappsec\.so/;extension = ddappsec\.so/' /tmp/ext.ini && \ |
GrahamCampbell
left a comment
There was a problem hiding this comment.
I don't think we should fix this here, and instead wait for the upstream fix to be completed.
Based on that ticket (DataDog/dd-trace-php#2014), it's not clear to me what exactly will be fixed. Maybe this fix (or: work-around) will still be needed, because the datadog-php-trace setup script assumes EDIT: this is also described in the documentation:
|
|
Hm... I think this is reasonable. |
Not as far I know. |
|
It has been two years, please merge this. 🙏🏼 |
Fixes #456.
Proposed fix:
Include the
ddappsec.somodule in the Datadog layer.Without this fix, I'm getting the following errors: