Skip to content

Commit

Permalink
adds instrumentation to poolmanagers
Browse files Browse the repository at this point in the history
  • Loading branch information
BugRoger committed Nov 27, 2017
1 parent 3a574b0 commit 7464dae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/controller/launch/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@ func (lr *LaunchReconciler) newNodePoolManager(kluster *v1.Kluster, pool *models
pm = &ConcretePoolManager{lr.Clients, kluster, pool, logger}
pm = &EventingPoolManager{pm, kluster, lr.Recorder}
pm = &LoggingPoolManager{pm, logger}
pm = &InstrumentingPoolManager{pm,
metrics.LaunchOperationsLatency,
metrics.LaunchOperationsTotal,
metrics.LaunchSuccessfulOperationsTotal,
metrics.LaunchFailedOperationsTotal,
}

return pm
}
Expand Down

0 comments on commit 7464dae

Please sign in to comment.