File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
import * as prometheusClient from "prom-client" ;
8
8
9
9
export function registerServerMetrics ( registry : prometheusClient . Registry ) {
10
- registry . registerMetric ( loginComletedTotal ) ;
10
+ registry . registerMetric ( loginCompletedTotal ) ;
11
11
registry . registerMetric ( apiConnectionCounter ) ;
12
12
registry . registerMetric ( apiConnectionClosedCounter ) ;
13
13
registry . registerMetric ( apiCallCounter ) ;
@@ -36,14 +36,14 @@ export function registerServerMetrics(registry: prometheusClient.Registry) {
36
36
registry . registerMetric ( updateSubscribersRegistered ) ;
37
37
}
38
38
39
- const loginComletedTotal = new prometheusClient . Counter ( {
39
+ const loginCompletedTotal = new prometheusClient . Counter ( {
40
40
name : "gitpod_login_completed_total" ,
41
41
help : "Total number of logins completed into gitpod, by status" ,
42
42
labelNames : [ "status" , "type" ] ,
43
43
} ) ;
44
44
45
45
export function reportLoginCompleted ( status : LoginCounterStatus , type : "git" | "sso" ) {
46
- loginComletedTotal . labels ( status , type ) . inc ( ) ;
46
+ loginCompletedTotal . labels ( status , type ) . inc ( ) ;
47
47
}
48
48
49
49
type LoginCounterStatus =
You can’t perform that action at this time.
0 commit comments