diff --git a/roles/mediaserver/files/daemon.json b/roles/mediaserver/files/daemon.json index 5bb1daa..472e1ed 100644 --- a/roles/mediaserver/files/daemon.json +++ b/roles/mediaserver/files/daemon.json @@ -4,5 +4,11 @@ "max-size": "2m", "max-file": "1", "compress": "false" + }, + "default-runtime": "dd-shim", + "runtimes": { + "dd-shim": { + "path": "/opt/datadog-packages/datadog-apm-inject/stable/inject/auto_inject_runc" + } } } diff --git a/roles/mediaserver/tasks/datadog.yml b/roles/mediaserver/tasks/datadog.yml index 7c25cca..3d5af10 100644 --- a/roles/mediaserver/tasks/datadog.yml +++ b/roles/mediaserver/tasks/datadog.yml @@ -11,6 +11,9 @@ - docker - systemd-journal - dialout + datadog_apm_instrumentation_enabled: all + datadog_apm_instrumentation_libraries: + - dotnet datadog_config: env: "{{ default.env }}" logs_enabled: true