Skip to content

Commit

Permalink
Update cmd/lotus/daemon.go
Browse files Browse the repository at this point in the history
Co-authored-by: Rod Vagg <[email protected]>
  • Loading branch information
virajbhartiya and rvagg authored Dec 4, 2024
1 parent a80b86b commit 1ab14ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/lotus/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,11 @@ var DaemonCmd = &cli.Command{
default:
return fmt.Errorf("unrecognized profile type: %q", profile)
}
network := strings.Split(buildconstants.BuildTypeString(), "+")[1]
ctx, _ := tag.New(context.Background(),
tag.Insert(metrics.Version, build.NodeBuildVersion),
tag.Insert(metrics.Commit, build.CurrentCommit),
tag.Insert(metrics.NodeType, "chain"),
tag.Insert(metrics.Network, network),
tag.Insert(metrics.Network, buildconstants.NetworkBundle),
)
// Register all metric views
if err = view.Register(
Expand Down

0 comments on commit 1ab14ea

Please sign in to comment.