diff --git a/lib/magic_pipe/metrics.rb b/lib/magic_pipe/metrics.rb
index <HASH>..<HASH> 100644
--- a/lib/magic_pipe/metrics.rb
+++ b/lib/magic_pipe/metrics.rb
@@ -2,7 +2,7 @@ module MagicPipe
   module Metrics
     class << self
       def client
-        Config.instance.metrics_client
+        MagicPipe.config.metrics_client
       end
 
       def method_missing(name, *args, &block)
don't reference the Config module directly