mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 18:31:13 -05:00
Setup newrelic for cloud.gov environments
This commit is contained in:
@@ -22,7 +22,7 @@ applications:
|
||||
- type: worker
|
||||
instances: ((worker_instances))
|
||||
memory: ((worker_memory))
|
||||
command: celery -A run_celery.notify_celery worker --loglevel=INFO --concurrency=4
|
||||
command: newrelic-admin run-program celery -A run_celery.notify_celery worker --loglevel=INFO --concurrency=4
|
||||
- type: scheduler
|
||||
instances: 1
|
||||
memory: ((scheduler_memory))
|
||||
@@ -32,6 +32,8 @@ applications:
|
||||
NOTIFY_APP_NAME: api
|
||||
FLASK_APP: application.py
|
||||
FLASK_ENV: production
|
||||
NEW_RELIC_CONFIG_FILE: newrelic.ini
|
||||
NEW_RELIC_ENVIRONMENT: ((env))
|
||||
|
||||
NOTIFY_ENVIRONMENT: ((env))
|
||||
API_HOST_NAME: https://((public_api_route))
|
||||
|
||||
Reference in New Issue
Block a user