Created
November 12, 2013 20:08
-
-
Save jwrubel/7437761 to your computer and use it in GitHub Desktop.
Configuring servers to register partial populations with New Relic in Scalr. We're using modulo three here force only 1/3 of the servers to report. Adjust this value based on your own environment. Assumes your Pro license key is stored in an environment variable named NEW_RELIC_LICENSE_KEY and Lite key is stored in NEW_RELIC_LITE_KEY.
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
license_key: <%= ENV["SCALR_INSTANCE_INDEX"] % 3 == 0 ? ENV["NEW_RELIC_LICENSE_KEY"] : ENV["NEW_RELIC_LITE_KEY"] %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment