From 48cd392b33923e2438e25fc01f5a5731b1976ac1 Mon Sep 17 00:00:00 2001 From: Devin Matte Date: Fri, 17 May 2024 17:39:29 -0400 Subject: [PATCH] We don't need that much datadog, it was too much --- devops/deploy-playbook.yml | 11 ----------- devops/systemd.conf | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) 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