Skip to content

Commit

Permalink
continue on error by default
Browse files Browse the repository at this point in the history
Signed-off-by: Liam White <[email protected]>
  • Loading branch information
liamawhite committed Mar 22, 2020
1 parent 56ffe58 commit 396b19a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func New(o Options) (*Exporter, error) {
options: o,
gatherer: o.Registry,
collector: collector,
handler: promhttp.HandlerFor(o.Registry, promhttp.HandlerOpts{}),
handler: promhttp.HandlerFor(o.Registry, promhttp.HandlerOpts{ErrorHandling: promhttp.ContinueOnError}),
}
return exp, nil
}
Expand Down

0 comments on commit 396b19a

Please sign in to comment.