Skip to content

Nginx NewRelic plugin wrapped in a Docker image with support for runtime env variables.

Notifications You must be signed in to change notification settings

supplypike/docker-nginx-newrelic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx-newrelic

Docker image for the Nginx NewRelic plugin. More info about the plugin here and here.

Usage

$ 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;
}

License

MIT

About

Nginx NewRelic plugin wrapped in a Docker image with support for runtime env variables.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages