-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds barnes gem to collect Ruby Language Metrics
Why are these changes being introduced: * This adds a few additional useful metrics in our heroku dashboard for stage/prod level apps (it doesn't work in eco dynos so pr builds will not collect this data) * see also: https://devcenter.heroku.com/articles/language-runtime-metrics-ruby Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/TCO-78 How does this address that need: * adds barnes gem * configures puma per heroku docs to enable barnes * updates app.json to add the metrics collection to PR builds even though they probably won't do anything in our eco dynos Document any side effects to this change: None really, but the only other rails app we do this with is Bento. Other apps should likely get updated to collect this data if we don't see any side effects.
- Loading branch information
Showing
4 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,9 @@ | |
"buildpacks": [ | ||
{ | ||
"url": "heroku/ruby" | ||
}, | ||
{ | ||
"url": "heroku/metrics" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters