uzyexe / dockerfile-newrelic

New Relic Dockerfile
MIT License
7 stars 13 forks source link

uzyexe/newrelic Circle CI

Run the New Relic server monitor daemon.

Dockerfile

Trusted Build

This Docker image is based on the official alpine:3.3 base image.

Using

Please note: Replaced by your newrelic license key is YOUR_NEW_RELIC_LICENSE_KEY

docker compose

docker-compose up

docker run

In order to give newrelic full access for monitoring there are a few unusual flags you'll need.

docker run -d \
    --name="newrelic" \
    --net="host" \
    --pid="host" \
    --env="NEW_RELIC_LICENSE_KEY=YOUR_NEW_RELIC_LICENSE_KEY" \
    --volume="/var/run/docker.sock:/var/run/docker.sock:ro" \
    --volume="/sys/fs/cgroup/:/sys/fs/cgroup:ro" \
    --volume="/dev:/dev" \
    --restart=always \
    uzyexe/newrelic

New Relic

Getting started

Release Notes

Authors

License

This project is licensed under the terms of the MIT license.