Skip to content

Commit 0f1a4ed

Browse files
authored
Try fixing puma reporting to appsignal by loading credentials earlier (#12103)
## Summary of the problem <!-- Why are these changes being made? What problem does it solve? Link any related issues to provide more details. --> HCB is not reporting puma to appsignal ## Describe your changes <!-- Explain your thought process to the solution and provide a quick summary of the changes. --> This might be lighter weight than a full preload_app or require "rails" <!-- If there are any visual changes, please attach images, videos, or gifs. --> Co-authored-by: Albert Chae <[email protected]>
1 parent 27cfc9e commit 0f1a4ed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/puma.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,7 @@
4444

4545
# Report stats to AppSignal
4646
plugin :appsignal
47+
48+
require_relative "../app/lib/credentials"
49+
50+
Credentials.load if ENV["DOPPLER_TOKEN"]

0 commit comments

Comments
 (0)