Skip to content

Commit

Permalink
Add datadog visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmet committed Oct 19, 2023
1 parent f2665a1 commit 95b6793
Show file tree
Hide file tree
Showing 4 changed files with 355 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"dockerfile": "Dockerfile"
},
"containerEnv": {
"GITHUB_BASE_URL": "http://localhost:4010"
"GITHUB_BASE_URL": "http://localhost:4010",
"DD_SERVICE": "$GITHUB_REPOSITORY",
"DD_CIVISIBILITY_AGENTLESS_ENABLED": "true",
"DD_ENV": "codespace"
},
"features": {
"ghcr.io/devcontainers/features/docker-in-docker": {},
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ on:
permissions:
contents: read

env:
DD_API_KEY: "${{ secrets.DD_API_KEY }}"
DD_SERVICE: "${{ github.repository }}"
DD_CIVISIBILITY_AGENTLESS_ENABLED: true
DD_ENV: ci

jobs:
test:
name: ${{ matrix.test.name }}
Expand Down
Loading

0 comments on commit 95b6793

Please sign in to comment.