Skip to content

Commit

Permalink
Prometheus metrics weren't registered
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Boivie committed Sep 19, 2017
1 parent 881f760 commit fccb446
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,13 @@ var (

func init() {
prometheus.MustRegister(HTTPResponseCtr)
prometheus.MustRegister(BackendActive)
prometheus.MustRegister(BackendsRegistered)
prometheus.MustRegister(BackendsStarted)
prometheus.MustRegister(BackendsUnregistered)
prometheus.MustRegister(BackendFailure)
prometheus.MustRegister(BackendReconnectSSH)
prometheus.MustRegister(BackendProvisioningDuration)
prometheus.MustRegister(BackendConnectSSHDuration)
prometheus.MustRegister(BackendBootstrapDuration)
}

0 comments on commit fccb446

Please sign in to comment.