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

License: MIT
Signed-off-by: Andrew Chin <[email protected]>
  • Loading branch information
eminence committed Mar 29, 2017
1 parent a8b56d3 commit 7ebbe49
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

0 comments on commit 7ebbe49

Please sign in to comment.