diff --git a/services/clsi/app/js/CompileManager.js b/services/clsi/app/js/CompileManager.js index 7631223cf5..104a214fc6 100644 --- a/services/clsi/app/js/CompileManager.js +++ b/services/clsi/app/js/CompileManager.js @@ -810,6 +810,7 @@ function _emitMetrics(request, status, stats, timings) { draft: request.draft ? 'true' : 'false', stop_on_first_error: request.stopOnFirstError ? 'true' : 'false', passes, + type: request.syncType, }) if (timings.sync != null) { diff --git a/services/clsi/app/js/Metrics.js b/services/clsi/app/js/Metrics.js index 62a1cdd9d7..6ec402a6a0 100644 --- a/services/clsi/app/js/Metrics.js +++ b/services/clsi/app/js/Metrics.js @@ -17,6 +17,7 @@ const compilesTotal = new prom.Counter({ 'draft', 'stop_on_first_error', 'passes', + 'type', ], })