Skip to content

Commit

Permalink
Merge pull request #7815 from ipfs/fix/decrease-oc-init-log
Browse files Browse the repository at this point in the history
fix: decrease log level of opencensus initialization
  • Loading branch information
aschmahmann authored Dec 9, 2020
2 parents 42d3f54 + fb3316a commit 4823547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/corehttp/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 4823547

Please sign in to comment.