Skip to content

Commit

Permalink
[ws-manager-bridge] Fix workspace instance update started total metri…
Browse files Browse the repository at this point in the history
…c incrementing
  • Loading branch information
easyCZ committed Apr 25, 2022
1 parent bfa4c16 commit 5d13bbf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class PrometheusMetricsExporter {
}

reportWorkspaceInstanceUpdateStarted(dbWrite: boolean, workspaceCluster: string, type: WorkspaceType): void {
this.workspaceInstanceUpdateStartedTotal.labels(String(dbWrite), workspaceCluster, WorkspaceType[type]);
this.workspaceInstanceUpdateStartedTotal.labels(String(dbWrite), workspaceCluster, WorkspaceType[type]).inc();
}

reportWorkspaceInstanceUpdateCompleted(
Expand Down

0 comments on commit 5d13bbf

Please sign in to comment.