Skip to content

Commit

Permalink
Merge pull request #32 from devopyio/prommetrics
Browse files Browse the repository at this point in the history
Update Prometheus Metrics
  • Loading branch information
devopsjonas authored Mar 31, 2019
2 parents c7ffb33 + a74982b commit a0f39b3
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 a0f39b3

Please sign in to comment.