Skip to content

Commit

Permalink
Enable APM auto-instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
HadrienPatte committed Sep 5, 2024
1 parent 4034267 commit 24e4efb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roles/mediaserver/files/daemon.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
3 changes: 3 additions & 0 deletions roles/mediaserver/tasks/datadog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24e4efb

Please sign in to comment.