Merge pull request #7815 from ipfs/fix/decrease-oc-init-log

fix: decrease log level of opencensus initialization
This commit is contained in:
Adin Schmahmann 2020-12-08 21:48:52 -05:00 committed by GitHub
commit 4823547ea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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{