Docker image for the Nginx NewRelic plugin. More info about the plugin here and here.
$ docker run -e "NEWRELIC_LICENSE=foo" \
-e "NEWRELIC_APP=foo" \
-e "NGINX_STATUS_URL=foo" \
casestack/nginx-newrelic
After a few seconds the data will be available in your NewRelic dashboard -> Plugins -> Nginx.
- NEWRELIC_LICENSE: NewRelic-generated license key token for your account. Get this from here.
- NEWRELIC_APP: application name for NewRelic UI
- NGINX_STATUS_URL: full URL to a Nginx stub status or JSON status
Sample nginx.conf:
location = /basic-status {
stub_status on;
access_log off;
}
MIT