File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ jobs:
164
164
env :
165
165
DATADOG_API_KEY : ${{ secrets.DATADOG_API_KEY }}
166
166
DD_DATABASE : fake
167
+ DD_CATEGORY : unit
167
168
GIT_COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
168
169
run : go run scripts/datadog-cireport/main.go gotests.xml
169
170
@@ -279,7 +280,7 @@ jobs:
279
280
if : (success() || failure()) && github.actor != 'dependabot[bot]'
280
281
env :
281
282
DATADOG_API_KEY : ${{ secrets.DATADOG_API_KEY }}
282
- DD_DATABASE : postgresql
283
+ DD_CATEGORY : unit
283
284
GIT_COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
284
285
run : go run scripts/datadog-cireport/main.go site/test-results/junit.xml
285
286
@@ -339,6 +340,6 @@ jobs:
339
340
if : (success() || failure()) && github.actor != 'dependabot[bot]' && runner.os == 'Linux'
340
341
env :
341
342
DATADOG_API_KEY : ${{ secrets.DATADOG_API_KEY }}
342
- DD_DATABASE : e2e
343
+ DD_CATEGORY : e2e
343
344
GIT_COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
344
345
run : go run scripts/datadog-cireport/main.go site/test-results/junit.xml
Original file line number Diff line number Diff line change @@ -75,7 +75,8 @@ func main() {
75
75
"service" : "coder" ,
76
76
"_dd.cireport_version" : "2" ,
77
77
78
- "test.traits" : fmt .Sprintf (`{"database":["%s"]}` , os .Getenv ("DD_DATABASE" )),
78
+ "test.traits" : fmt .Sprintf (`{"database":["%s"], "category":["%s"]}` ,
79
+ os .Getenv ("DD_DATABASE" ), os .Getenv ("DD_CATEGORY" )),
79
80
80
81
// Additional tags found in DataDog docs. See:
81
82
// https://docs.datadoghq.com/continuous_integration/setup_tests/junit_upload/#collecting-environment-configuration-metadata
You can’t perform that action at this time.
0 commit comments