1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-14 10:13:10 +02:00

prometheus exporter initialize on error based on config (#486)

This commit is contained in:
Gustavo Silva Paiva 2020-02-18 21:35:45 -03:00 committed by GitHub
parent f99337fb8a
commit 84d0a2afea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)