Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling env var support for license key and app names #501

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mmahjoubi
Copy link

  • This will allow the overriding of both the license key and all the app names, through env vars
  • For the license key, we just have to define NEWRELIC_LICENSE_KEY
  • For an app name, it's more tricky, since we want to support multiple instances per supported backend system. The format is NEWRELIC_<UPPERCASE_PLUGIN_NAME>_<INSTANCE_INDEX> (e.g. if we want to override the first apache_httpd app name, we would define NEWRELIC_APACHE_HTTPD_APP_NAME_0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant