@@ -117,25 +117,25 @@ func newMetrics(m *Manager) *metrics {
117
117
Subsystem : metricsWorkspaceSubsystem ,
118
118
Name : "workspace_backups_total" ,
119
119
Help : "total number of workspace backups" ,
120
- }, []string {"type" , "class" }),
120
+ }, []string {"type" , "pvc" , " class" }),
121
121
totalBackupFailureCounterVec : prometheus .NewCounterVec (prometheus.CounterOpts {
122
122
Namespace : metricsNamespace ,
123
123
Subsystem : metricsWorkspaceSubsystem ,
124
124
Name : "workspace_backups_failure_total" ,
125
125
Help : "total number of workspace backup failures" ,
126
- }, []string {"type" , "class" }),
126
+ }, []string {"type" , "pvc" , " class" }),
127
127
totalRestoreCounterVec : prometheus .NewCounterVec (prometheus.CounterOpts {
128
128
Namespace : metricsNamespace ,
129
129
Subsystem : metricsWorkspaceSubsystem ,
130
130
Name : "workspace_restores_total" ,
131
131
Help : "total number of workspace restores" ,
132
- }, []string {"type" , "class" }),
132
+ }, []string {"type" , "pvc" , " class" }),
133
133
totalRestoreFailureCounterVec : prometheus .NewCounterVec (prometheus.CounterOpts {
134
134
Namespace : metricsNamespace ,
135
135
Subsystem : metricsWorkspaceSubsystem ,
136
136
Name : "workspace_restores_failure_total" ,
137
137
Help : "total number of workspace restore failures" ,
138
- }, []string {"type" , "class" }),
138
+ }, []string {"type" , "pvc" , " class" }),
139
139
totalUnintentionalWorkspaceStopCounterVec : prometheus .NewCounterVec (prometheus.CounterOpts {
140
140
Namespace : metricsNamespace ,
141
141
Subsystem : metricsWorkspaceSubsystem ,
0 commit comments