Skip to content

Commit 87375a3

Browse files
committed
Update stats dimensions.
1 parent dca3a2b commit 87375a3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ 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"));
6768

6869
StackdriverMetrics(Gradle gradle, Logger logger) {
6970
this.logger = logger;
@@ -83,7 +84,7 @@ class StackdriverMetrics implements Metrics {
8384
Stats.getViewManager()
8485
.registerView(
8586
View.create(
86-
View.Name.create("fireci/success"),
87+
View.Name.create("fireci/tasksuccess"),
8788
"Indicated success or failure.",
8889
M_SUCCESS,
8990
Aggregation.LastValue.create(),

ci/fireci/fireci/stats.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
tags.TagKey("pull_number"),
4949
tags.TagKey("job_name"),
5050
tags.TagKey("build_id"),
51+
tags.TagKey("job_type"),
5152
]
5253

5354
_METRICS_ENABLED = False

0 commit comments

Comments
 (0)