Skip to content

Commit

Permalink
chore: fix prometheus metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Jun 29, 2023
1 parent 8049920 commit 71eae35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/sharness/t0119-prometheus-data/prometheus_metrics
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ ipfs_bitswap_sent_all_blocks_bytes_count
ipfs_bitswap_sent_all_blocks_bytes_sum
ipfs_bitswap_want_blocks_total
ipfs_bitswap_wantlist_total
ipfs_bs_cache_arc_hits_total
ipfs_bs_cache_arc_total
ipfs_bs_cache_boxo_blockstore_cache_hits
ipfs_bs_cache_boxo_blockstore_cache_total
ipfs_fsrepo_datastore_batchcommit_errors_total
ipfs_fsrepo_datastore_batchcommit_latency_seconds_bucket
ipfs_fsrepo_datastore_batchcommit_latency_seconds_count
Expand Down
2 changes: 1 addition & 1 deletion test/sharness/t0600-issues-and-regressions-online.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ test_expect_success "no panic traces on daemon" '

test_expect_success "metrics work" '
curl -X POST "$API_ADDR/debug/metrics/prometheus" > pro_data &&
grep "ipfs_bs_cache_arc_hits_total" < pro_data ||
grep "ipfs_bs_cache_boxo_blockstore_cache_total" < pro_data ||
test_fsh cat pro_data
'

Expand Down

0 comments on commit 71eae35

Please sign in to comment.