Collection of Supervisor plugins to provide metrics and monitoring within New Relic
Project description
supervisor_newrelic
Collection of Supervisor plugins to provide metrics and monitoring within New Relic.
status plugin
This plugin should be subscribed to the PROCESS_STATE events. It sends an event to New Relic every time a process changes state.
Installation & Configuration
Register an Insights API Insert Key
Install via pip:
pip install supervisor_newrelic
Create a new configuration file: /etc/supervisor.d/newrelic.conf with contents:
[eventlistener:newrelic_status] command = supervisor_newrelic_status --account <NEWRELIC_ACCOUNT_NO> --key <NEWRELIC_KEY> events = PROCESS_STATE
Reload the supervisord configuration:
supervisorctl reread
You should now start to see events in New Relic Insights in the Custom Events section named Supervisor:Status. Each event will have the following attributes:
processName: The name of the process which changed status
groupName: The name of the group which changed status
status: The status it changed to
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for supervisor_newrelic-1.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c19e0ff49e64550bdfcdcb766bf7ec26ca6639b3966431b437b87ad95d61c54 |
|
MD5 | 40b6031f929907e0b1c91fe84ba965b5 |
|
BLAKE2b-256 | f344d9c48516dd8dc4df62953db9dcefe3efbbc89a68ea7a7e8e6b92fe263d06 |