Skip to content

Commit

Permalink
Fix wanlist typo in prometheus metric name
Browse files Browse the repository at this point in the history
This will be a breaking change for anyone who is currently monitoring
the `ipfs_bitswap_wanlist_total` prometheus stat

Signed-off-by: Andrew Chin <[email protected]>
  • Loading branch information
eminence committed Mar 29, 2017
1 parent a8b56d3 commit 9dfacda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchange/bitswap/wantmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type WantManager struct {

func NewWantManager(ctx context.Context, network bsnet.BitSwapNetwork) *WantManager {
ctx, cancel := context.WithCancel(ctx)
wantlistGauge := metrics.NewCtx(ctx, "wanlist_total",
wantlistGauge := metrics.NewCtx(ctx, "wantlist_total",
"Number of items in wantlist.").Gauge()
sentHistogram := metrics.NewCtx(ctx, "sent_all_blocks_bytes", "Histogram of blocks sent by"+
" this bitswap").Histogram(metricsBuckets)
Expand Down

1 comment on commit 9dfacda

@GitCop
Copy link

@GitCop GitCop commented on 9dfacda Mar 29, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were the following issues with your Pull Request

We ask for a few features in the commit message for Open Source licensing hygiene and commit message clarity.
git commit --amend can often help you quickly improve the commit message.
Guidelines and a script are available to help in the long run.
Your feedback on GitCop is welcome on this issue.


This message was auto-generated by https://gitcop.com

Please sign in to comment.