Skip to content

Commit 829ea6a

Browse files
easyCZroboquat
authored andcommitted
[ws-manager-bridge] Fix workspace instance update started total metric incrementing
1 parent 1b88c80 commit 829ea6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ws-manager-bridge/src/prometheus-metrics-exporter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export class PrometheusMetricsExporter {
127127
}
128128

129129
reportWorkspaceInstanceUpdateStarted(dbWrite: boolean, workspaceCluster: string, type: WorkspaceType): void {
130-
this.workspaceInstanceUpdateStartedTotal.labels(String(dbWrite), workspaceCluster, WorkspaceType[type]);
130+
this.workspaceInstanceUpdateStartedTotal.labels(String(dbWrite), workspaceCluster, WorkspaceType[type]).inc();
131131
}
132132

133133
reportWorkspaceInstanceUpdateCompleted(

0 commit comments

Comments
 (0)