Skip to content

Commit

Permalink
Merge pull request ipfs/kubo#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

This commit was moved from ipfs/kubo@4823547
  • Loading branch information
aschmahmann authored Dec 9, 2020
2 parents aca5504 + 1e0ccb6 commit 7c7e576
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 7c7e576

Please sign in to comment.