File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
buildSrc/src/main/groovy/com/google/firebase/gradle/plugins/ci/metrics Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,10 @@ class StackdriverMetrics implements Metrics {
63
63
TagKey .create ("repo_name" ),
64
64
TagKey .create ("pull_number" ),
65
65
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" ));
67
70
68
71
StackdriverMetrics (Gradle gradle , Logger logger ) {
69
72
this .logger = logger ;
@@ -83,7 +86,7 @@ class StackdriverMetrics implements Metrics {
83
86
Stats .getViewManager ()
84
87
.registerView (
85
88
View .create (
86
- View .Name .create ("fireci/success " ),
89
+ View .Name .create ("fireci/tasksuccess " ),
87
90
"Indicated success or failure." ,
88
91
M_SUCCESS ,
89
92
Aggregation .LastValue .create (),
Original file line number Diff line number Diff line change 48
48
tags .TagKey ("pull_number" ),
49
49
tags .TagKey ("job_name" ),
50
50
tags .TagKey ("build_id" ),
51
+ tags .TagKey ("job_type" ),
52
+ tags .TagKey ("repo_owner" ),
53
+ tags .TagKey ("repo_name" ),
51
54
]
52
55
53
56
_METRICS_ENABLED = False
You can’t perform that action at this time.
0 commit comments