Skip to content

Profiling disabled due to missing extension on Heroku and Elastic Beanstalk (ddtrace 1.1.0) #2067

Description

@theocodes

Hi 👋

Came across the following while attempting to set up profilingf or a rack app

W, [2022-06-06T10:16:18.000528 #130]  WARN -- ddtrace: [ddtrace] Profiling was requested but is not supported, profiling disabled: There was an error loading the profiling native extension due to 'RuntimeError Failure to load ddtrace_profiling_native_extension.2.7.6_x86_64-linux due to libddprof_ffi.so: cannot open shared object file: No such file or directory' at '/app/vendor/bundle/ruby/2.7.0/gems/ddtrace-1.1.0/lib/datadog/profiling/load_native_extension.rb:22:in `<top (required)>''

After some digging I can see this (at least the error message) may be caused by the 1.1.0 release which added libddprof as a dependency. However, it's not clear to me whether this is intended or a bug..

The PR Seems to suggest x86_64 linux is supported and that is exactly what I am using and yet I get the error.

Would youf folks be able to shed some light on it?

Thanks!

Metadata

Metadata

Assignees

Labels

profilingInvolves Datadog profiling

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions