Skip to content

Commit

Permalink
tbc: add todo to cmdsProcessed
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuasing committed Dec 5, 2024
1 parent 7c433d1 commit a6f935b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/tbc/tbc.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func NewServer(cfg *Config) (*Server, error) {
blocks: blocks,
pings: pings,
timeSource: blockchain.NewMedianTime(),
cmdsProcessed: prometheus.NewCounter(prometheus.CounterOpts{
cmdsProcessed: prometheus.NewCounter(prometheus.CounterOpts{ // XXX: move into Collectors func
Subsystem: cfg.PrometheusSubsystem,
Name: "rpc_calls_total",
Help: "The total number of successful RPC commands",
Expand Down

0 comments on commit a6f935b

Please sign in to comment.