Skip to content

Commit

Permalink
fix typo line 92 promethues -> prometheus (#348)
Browse files Browse the repository at this point in the history
Signed-off-by: arugakiWei <[email protected]>
  • Loading branch information
ArugakiWei authored and brian-brazil committed Oct 30, 2018
1 parent 6b84565 commit 5f4dfb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
registry := prometheus.NewRegistry()
collector := collector{target: target, module: module}
registry.MustRegister(collector)
// Delegate http serving to Promethues client library, which will call collector.Collect.
// Delegate http serving to Prometheus client library, which will call collector.Collect.
h := promhttp.HandlerFor(registry, promhttp.HandlerOpts{})
h.ServeHTTP(w, r)
duration := float64(time.Since(start).Seconds())
Expand Down

0 comments on commit 5f4dfb4

Please sign in to comment.