set health-check flag on compile status requests GitOrigin-RevId: 56decc98aecf7fa5e12f99efc39ef38915ceebe2
@@ -880,6 +880,7 @@ function _finaliseRequest(projectId, options, project, docs, files) {
pdfCachingMinChunkSize: options.pdfCachingMinChunkSize,
flags,
metricsMethod: options.compileGroup,
+ metricsPath: options.metricsPath,
},
rootResourcePath,
resources,
@@ -1159,7 +1159,7 @@ async function initialize(webRouter, privateApiRouter, publicApiRouter) {
CompileManager.compile(
projectId,
testUserId,
- {},
+ { metricsPath: 'health-check' },
function (error, status, _outputFiles, clsiServerId) {
if (handler) {
clearTimeout(handler)