Closed
Description
openedon Feb 8, 2024
Current behaviour
irb(main):001:0> Dir.ancestors
=> [Dir, Enumerable, ActiveSupport::Dependencies::ZeitwerkIntegration::RequireDependency, Datadog::Profiling::Ext::Forking::Kernel, ActiveSupport::ForkTracker::CoreExtPrivate, ActiveSupport::ForkTracker::CoreExt, ActiveSupport::ToJsonWithActiveSupportEncoder, Object, Delayed::MessageSending, PP::ObjectMixin, JSON::Ext::Generator::GeneratorMethods::Object, ActiveSupport::Dependencies::Loadable, ActiveSupport::Tryable, Kernel, BasicObject]
irb(main):002:0> Dir.glob('/gcsfuse/t*')
=> []
Expected behaviour
irb(main):001:0> Dir.ancestors
=> [Dir, Enumerable, ActiveSupport::Dependencies::ZeitwerkIntegration::RequireDependency, ActiveSupport::ForkTracker::CoreExtPrivate, ActiveSupport::ForkTracker::CoreExt, ActiveSupport::ToJsonWithActiveSupportEncoder, Object, Delayed::MessageSending, PP::ObjectMixin, JSON::Ext::Generator::GeneratorMethods::Object, ActiveSupport::Dependencies::Loadable, ActiveSupport::Tryable, Kernel, BasicObject]
irb(main):002:0> Dir.glob('/gcsfuse/t*')
=> ["/gcsfuse/test.html", "/gcsfuse/test.txt"]
Steps to reproduce
Mount bucket via gcsfuse, load rails with ddtrace, call Dir.glob
on any path under the gcsfuse mount point (other fs work as expected).
Environment
- ddtrace version: 1.20.0
- Configuration block (
Datadog.configure ...
):
Datadog.configure do |c|
if (service_name = ENV["DD_SERVICE"])
c.tracing.instrument :rails, service_name: service_name
c.env = ENV.fetch("DD_ENV")
end
end
- Ruby version: 2.7.7
- Operating system: Debian 11
- Relevant library versions: Rails 6.1.7.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment