Skip to content

Commit

Permalink
Update Prometheus Metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
devopsjonas committed Mar 31, 2019
1 parent 3e84482 commit a74982b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/zal/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ func main() {
}
log.SetOutput(os.Stdout)

prometheus.MustRegister(ver.NewCollector(send.FullCommand()))
prometheus.MustRegister(prommod.NewCollector(send.FullCommand()))
prometheus.MustRegister(ver.NewCollector("zal"))
prometheus.MustRegister(prommod.NewCollector("zal"))
switch cmd {
case send.FullCommand():
s, err := zabbixsnd.New(*zabbixAddr)
Expand Down

0 comments on commit a74982b

Please sign in to comment.