- install new relic on the instance to be monitored: https://docs.newrelic.com/docs/infrastructure/new-relic-infrastructure/installation/install-infrastructure-linux#install-procedure
- after step two of
echo "license_key: YOUR_LICENSE_KEY" | sudo tee -a /etc/newrelic-infra.yml
:vi /etc/newrelic-infra.yml
and add the linestrip_command_line: false
, this allows the command line filter to include all arguments
- restart newlic agent by:
sudo systemctl restart newrelic-infra
- (optional) update agent, please read: https://docs.newrelic.com/docs/infrastructure/new-relic-infrastructure/installation/update-infrastructure-agent
- To create an alert on
cron
process, please goto INFRASTRUCTURE -> Settings -> Alerts -> Create alert condition, check existing created alert for reference
Last active
September 29, 2017 03:41
-
-
Save kccheung/208a1a10a53439985ae604e37dd9d002 to your computer and use it in GitHub Desktop.
Simple steps detailing how to monitor process within docker container, TL;TR; we will use New Relic's infrastructure service.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment