Skip to content

Commit

Permalink
chore: Add more Atlassian logging (#9405)
Browse files Browse the repository at this point in the history
* chore: Add more Atlassian logging

Mainly associate the logs with the traces so it's possible to check
which GraphQL request caused a certain debug output.

* Less code shuffling

* Cleanup log directories

Put them in the dev folder so they're out of sight.
  • Loading branch information
Dschoordsch committed Feb 8, 2024
1 parent 26d1d16 commit d8f006c
Show file tree
Hide file tree
Showing 10 changed files with 663 additions and 628 deletions.
5 changes: 5 additions & 0 deletions docker/dd-conf.d/gqlExecutor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
logs:
- type: file
path: "/var/log/datadog/logs/gqlExecutor.log"
service: parabol
source: parabol
5 changes: 5 additions & 0 deletions docker/dd-conf.d/web.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
logs:
- type: file
path: "/var/log/datadog/logs/web.log"
service: parabol
source: parabol
2 changes: 2 additions & 0 deletions docker/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ services:
- /var/run/docker.sock:/var/run/docker.sock
- /proc/:/host/proc/:ro
- /sys/fs/cgroup:/host/sys/fs/cgroup:ro
- "./dd-conf.d:/etc/datadog-agent/conf.d/local.d/"
- "../dev/logs:/var/log/datadog/logs"
db:
image: rethinkdb:2.4.2
restart: unless-stopped
Expand Down

0 comments on commit d8f006c

Please sign in to comment.