Skip to content

Commit 363dd7d

Browse files
committed
Update stats dimensions.
1 parent dca3a2b commit 363dd7d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

buildSrc/src/main/groovy/com/google/firebase/gradle/plugins/ci/metrics/StackdriverMetrics.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ class StackdriverMetrics implements Metrics {
6363
TagKey.create("repo_name"),
6464
TagKey.create("pull_number"),
6565
TagKey.create("job_name"),
66-
TagKey.create("build_id"));
66+
TagKey.create("build_id"),
67+
TagKey.create("job_type"),
68+
TagKey.create("repo_owner"),
69+
TagKey.create("repo_name"));
6770

6871
StackdriverMetrics(Gradle gradle, Logger logger) {
6972
this.logger = logger;
@@ -83,7 +86,7 @@ class StackdriverMetrics implements Metrics {
8386
Stats.getViewManager()
8487
.registerView(
8588
View.create(
86-
View.Name.create("fireci/success"),
89+
View.Name.create("fireci/tasksuccess"),
8790
"Indicated success or failure.",
8891
M_SUCCESS,
8992
Aggregation.LastValue.create(),

ci/fireci/fireci/stats.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@
4848
tags.TagKey("pull_number"),
4949
tags.TagKey("job_name"),
5050
tags.TagKey("build_id"),
51+
tags.TagKey("job_type"),
52+
tags.TagKey("repo_owner"),
53+
tags.TagKey("repo_name"),
5154
]
5255

5356
_METRICS_ENABLED = False

0 commit comments

Comments
 (0)