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.
This commit is contained in:
Ed Morley 2018-11-01 18:02:20 +00:00 коммит произвёл GitHub
Родитель 9716e6b551
Коммит 037a233960
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -28,4 +28,4 @@ shutdown_timeout = 15
# The agent doesn't annotate Django management commands by default:
# https://docs.newrelic.com/docs/agents/python-agent/supported-features/python-background-tasks#django
# List finite-duration commands here to enable their annotation by the agent.
instrumentation.scripts.django_admin = check migrate load_initial_data
instrumentation.scripts.django_admin = check cycle_data load_initial_data migrate update_bugscache