1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-08-10 22:31:50 +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

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)