Skip to content

Commit

Permalink
prometheus exporter initialize on error based on config (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
paivagustavo authored Feb 19, 2020
1 parent f99337f commit 84d0a2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exporter/metric/prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ func NewRawExporter(config Config) (*Exporter, error) {
registerer: config.Registerer,
gatherer: config.Gatherer,
defaultSummaryQuantiles: config.DefaultSummaryQuantiles,
onError: config.OnError,
}

c := newCollector(e)
Expand Down

0 comments on commit 84d0a2a

Please sign in to comment.