Skip to content

Commit

Permalink
fix: decrease log level of opencensus initialization
Browse files Browse the repository at this point in the history
This commit was moved from ipfs/kubo@fb3316a
  • Loading branch information
aschmahmann committed Dec 9, 2020
1 parent aca5504 commit 1e0ccb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/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 1e0ccb6

Please sign in to comment.