Skip to content

Commit

Permalink
add flags for logger
Browse files Browse the repository at this point in the history
  • Loading branch information
kobtea committed Oct 22, 2018
1 parent f3e0a84 commit cb20f8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dummy_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ func (collector collector) Collect(ch chan<- prometheus.Metric) {
}

func main() {
log.AddFlags(kingpin.CommandLine)
kingpin.Version(version.Print("dummy_exporter"))
kingpin.HelpFlag.Short('h')
kingpin.Parse()
Expand Down

0 comments on commit cb20f8a

Please sign in to comment.