diff --git a/devops/deploy-playbook.yml b/devops/deploy-playbook.yml index 5581332..2dd16f7 100644 --- a/devops/deploy-playbook.yml +++ b/devops/deploy-playbook.yml @@ -121,13 +121,7 @@ - "version:{{ lookup('env', 'GIT_SHA') }}" apm_config: enabled: true - process_config: - enabled: "true" # type: string logs_enabled: true - network_config: - enabled: true - system_probe_config: - enable_oom_kill: true datadog_checks: nginx: logs: @@ -136,8 +130,3 @@ service: "new-train-tracker" source: nginx sourcecategory: nginx - systemd: - init_config: - instances: - - unit_names: - - new-train-tracker.service diff --git a/devops/systemd.conf b/devops/systemd.conf index 347fc34..5a4721a 100644 --- a/devops/systemd.conf +++ b/devops/systemd.conf @@ -12,7 +12,7 @@ Environment=DD_ENV="prod" Environment=DD_PROFILING_ENABLED="true" Environment=DD_LOGS_INJECTION="true" Environment=DD_GIT_REPOSITORY_URL="github.com/transitmatters/new-train-tracker" -ExecStart=/home/ubuntu/.local/bin/poetry run gunicorn -b localhost:5001 -w 1 server.application:application +ExecStart=/home/ubuntu/.local/bin/poetry run ddtrace-run gunicorn -b localhost:5001 -w 1 server.application:application Restart=on-failure RestartSec=5s