Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Simple steps detailing how to monitor process within docker container, TL;TR; we will use New Relic's infrastructure service.
  1. install new relic on the instance to be monitored:
  2. 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 line strip_command_line: false, this allows the command line filter to include all arguments
  3. restart newlic agent by: sudo systemctl restart newrelic-infra
  4. (optional) update agent, please read:
  5. To create an alert on cron process, please goto INFRASTRUCTURE -> Settings -> Alerts -> Create alert condition, check existing created alert for reference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.