fix spelling typo
This commit is contained in:
parent
3eb912b336
commit
be904beebc
|
@ -45,7 +45,7 @@ var (
|
|||
func handler(w http.ResponseWriter, r *http.Request) {
|
||||
status := http.StatusOK
|
||||
// The ObserverFunc gets called by the deferred ObserveDuration and
|
||||
// decides wich Histogram's Observe method is called.
|
||||
// decides which Histogram's Observe method is called.
|
||||
timer := prometheus.NewTimer(prometheus.ObserverFunc(func(v float64) {
|
||||
switch {
|
||||
case status >= 500: // Server error.
|
||||
|
|
Loading…
Reference in New Issue