fix: decrease log level of opencensus initialization

This commit is contained in:
Adin Schmahmann 2020-12-08 21:46:49 -05:00
parent 42d3f541d1
commit fb3316ad05

View File

@ -26,7 +26,7 @@ func MetricsScrapingOption(path string) ServeOption {
// This adds collection of OpenCensus metrics
func MetricsOpenCensusCollectionOption() ServeOption {
return func(_ *core.IpfsNode, _ net.Listener, mux *http.ServeMux) (*http.ServeMux, error) {
log.Error("Init OpenCensus")
log.Info("Init OpenCensus")
promRegistry := prometheus.NewRegistry()
pe, err := ocprom.NewExporter(ocprom.Options{