File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
services/worker-manager/src Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1+ audience: general
2+ level: patch
3+ ---
4+ This patch adds a new field to be logged out on a failed provision call. This field will be used to measure the provisioning failed count.
Original file line number Diff line number Diff line change @@ -159,7 +159,12 @@ class Provisioner {
159159 } ;
160160 await provider . provision ( { workerPool, workerInfo } ) ;
161161 } catch ( err ) {
162- this . monitor . reportError ( err , { providerId : workerPool . providerId } ) ; // Just report this and move on
162+ this . monitor . reportError ( err ,
163+ {
164+ providerId : workerPool . providerId ,
165+ type : 'provisioning-failed' ,
166+ } ,
167+ ) ; // Just report this and move on
163168 }
164169
165170 await Promise . all ( previousProviderIds . map ( async pId => {
You can’t perform that action at this time.
0 commit comments