Closed
Bug 1503576
Opened 6 years ago
Closed 6 years ago
Enable New Relic instrumentation of more Django management commands
Categories
(Tree Management :: Treeherder: Infrastructure, enhancement, P1)
Tree Management
Treeherder: Infrastructure
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
References
Details
Attachments
(1 file)
We're now running a number of tasks via the Heroku scheduler addon, rather than as celery beat tasks. The scheduler addon invokes the tasks via Django management commands (ie `./manage.py <name of command>`) - which are not automatically monitored by New Relic even though we wrap the command with newrelic-admin (`newrelic-admin run-program ./manage.py ...`).
To restore the previous coverage we had, we need to add the commands to the setting here:
https://github.com/mozilla/treeherder/blob/cbf14f48165097f464bc6df725ce6b9b6189d515/newrelic.ini#L28-L31
Comment 1•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Attachment #9021517 -
Flags: review?(cdawson)
Comment 2•6 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/037a2339600779d86bbfe1ab2d9cf6e4427561f6
Bug 1503576 - New Relic: Instrument cycle_data & update_bugscache (#4214)
Since we now run them as Django management commands (rather than
scheduled Celery tasks), which New Relic only instruments if explicitly
instructed.
Assignee | ||
Updated•6 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Attachment #9021517 -
Flags: review?(cdawson) → review+
You need to log in
before you can comment on or make changes to this bug.
Description
•