From 9149b822cfb28a83dbf827ead2c51d10a7ec8caf Mon Sep 17 00:00:00 2001 From: Pranav Gandhi Date: Tue, 5 Nov 2024 10:42:44 -0500 Subject: [PATCH] Allow use of the datadog profiler --- config/initializers/datadog.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/config/initializers/datadog.rb b/config/initializers/datadog.rb index 6e0ffffe9..744e18e19 100644 --- a/config/initializers/datadog.rb +++ b/config/initializers/datadog.rb @@ -17,10 +17,6 @@ def local_dev? c.tracing.instrument :elasticsearch c.tracing.instrument :active_record, service_name: "libraries_postgres" c.tracing.instrument :pg, service_name: "libraries_pg" - - # turn on Ruby profiler; there's also a require in config.ru - # that is part of this. - c.profiling.enabled = false else c.tracing.enabled = false end