Open
Description
Description
After upgrading to agent version 9.13.0 celery monitoring has stopped reporting and showing up in new relic console. I noticed it stopped working after version 9.9.0.
Expected Behavior
celery metrics should report to new relic console.
Troubleshooting or NR Diag results
tried using nrdiag but its not detecting the virtual environement, therefore it fails to detect newrelic is even installed.
Steps to Reproduce
CELERY_BIN="NEW_RELIC_CONFIG_FILE=/path/to/newrelic.ini /path/to/newrelic-admin run-program /path/to/celery"
service file
[Unit]
Description=Celery Service
After=network.target
[Service]
Type=forking
User=ubuntu
Group=ubuntu
EnvironmentFile=/etc/default/celeryd
WorkingDirectory=/srv/plugshare
ExecStart=/bin/sh -c '${CELERY_BIN} -A ${CELERY_APP} multi start ${CELERYD_NODES} \
--pidfile=${CELERYD_PID_FILE} \
--logfile=${CELERYD_LOG_FILE} --loglevel=${CELERYD_LOG_LEVEL} ${CELERYD_OPTS}'
ExecStop=/bin/sh -c '${CELERY_BIN} multi stopwait ${CELERYD_NODES} \
--pidfile=${CELERYD_PID_FILE}'
ExecReload=/bin/sh -c '${CELERY_BIN} -A ${CELERY_APP} multi restart ${CELERYD_NODES} \
--pidfile=${CELERYD_PID_FILE} \
--logfile=${CELERYD_LOG_FILE} --loglevel=${CELERYD_LOG_LEVEL} ${CELERYD_OPTS}'
[Install]
WantedBy=multi-user.target
Your Environment
new relic agent: 9.13.0
celery version 5.4.0
python 3.11