Skip to content

Commit 68fe33a

Browse files
committed
[ws-manager-mk2] add type label to workspace_activity_total metric
Fixes ENG-502
1 parent abfeb87 commit 68fe33a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ws-manager-mk2/service/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1441,7 +1441,7 @@ func newWorkspaceActivityVec(workspaceNamespace string, k8s client.Client, activ
14411441
Help: "total number of active workspaces",
14421442
}
14431443
return &workspaceActivityVec{
1444-
GaugeVec: prometheus.NewGaugeVec(opts, []string{"active"}),
1444+
GaugeVec: prometheus.NewGaugeVec(opts, []string{"active", "type"}),
14451445
name: prometheus.BuildFQName(opts.Namespace, opts.Subsystem, opts.Name),
14461446
workspaceNamespace: workspaceNamespace,
14471447
k8s: k8s,

0 commit comments

Comments
 (0)