Skip to content

Commit

Permalink
feat: add tracer to init
Browse files Browse the repository at this point in the history
  • Loading branch information
alok committed Nov 29, 2021
1 parent 5fc4cb6 commit 88f9a2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ func New(bCfg config.Config) (core.Service, error) {
}, found),
utils.MaybeProvide(status.New, found),
utils.MaybeProvide(metrics.New, bCfg.IsSet("UsePrometheus")),
utils.MaybeProvide(metrics.NewTracer, bCfg.IsSet("UseTracing")),
utils.MaybeOption(locker.Module, bCfg.IsSet("UseLocker")),
authModule(r.Config()),
utils.MaybeOption(ipfs.Module, bCfg.IsSet("UseP2P")),
Expand Down

0 comments on commit 88f9a2c

Please sign in to comment.