Skip to content

Commit

Permalink
Actually register new collectors (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
bastjan authored Jun 6, 2024
1 parent a41f284 commit 831dba9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,14 @@ func main() {
Client: mgr.GetClient(),
Namespace: watchNamespace,
})
metrics.Registry.MustRegister(&operatorMetrics.ClusterInfoCollector{
Client: mgr.GetClient(),
Namespace: watchNamespace,
})
metrics.Registry.MustRegister(&operatorMetrics.TenantInfoCollector{
Client: mgr.GetClient(),
Namespace: watchNamespace,
})

if err = (&controllers.ClusterReconciler{
Client: mgr.GetClient(),
Expand Down

0 comments on commit 831dba9

Please sign in to comment.