mirror of https://github.com/status-im/nim-eth.git
Make counter metrics public
This commit is contained in:
parent
cb2bc388f1
commit
5e476dd7d2
|
@ -47,19 +47,19 @@ export
|
||||||
logScope:
|
logScope:
|
||||||
topics = "waku"
|
topics = "waku"
|
||||||
|
|
||||||
declareCounter valid_envelopes,
|
declarePublicCounter valid_envelopes,
|
||||||
"Received & posted valid envelopes"
|
"Received & posted valid envelopes"
|
||||||
declareCounter dropped_low_pow_envelopes,
|
declarePublicCounter dropped_low_pow_envelopes,
|
||||||
"Dropped envelopes because of too low PoW"
|
"Dropped envelopes because of too low PoW"
|
||||||
declareCounter dropped_too_large_envelopes,
|
declarePublicCounter dropped_too_large_envelopes,
|
||||||
"Dropped envelopes because larger than maximum allowed size"
|
"Dropped envelopes because larger than maximum allowed size"
|
||||||
declareCounter dropped_bloom_filter_mismatch_envelopes,
|
declarePublicCounter dropped_bloom_filter_mismatch_envelopes,
|
||||||
"Dropped envelopes because not matching with bloom filter"
|
"Dropped envelopes because not matching with bloom filter"
|
||||||
declareCounter dropped_topic_mismatch_envelopes,
|
declarePublicCounter dropped_topic_mismatch_envelopes,
|
||||||
"Dropped envelopes because of not matching topics"
|
"Dropped envelopes because of not matching topics"
|
||||||
declareCounter dropped_benign_duplicate_envelopes,
|
declarePublicCounter dropped_benign_duplicate_envelopes,
|
||||||
"Dropped benign duplicate envelopes"
|
"Dropped benign duplicate envelopes"
|
||||||
declareCounter dropped_malicious_duplicate_envelopes,
|
declarePublicCounter dropped_malicious_duplicate_envelopes,
|
||||||
"Dropped malicious duplicate envelopes"
|
"Dropped malicious duplicate envelopes"
|
||||||
|
|
||||||
const
|
const
|
||||||
|
|
|
@ -42,17 +42,17 @@ export
|
||||||
logScope:
|
logScope:
|
||||||
topics = "whisper"
|
topics = "whisper"
|
||||||
|
|
||||||
declareCounter valid_envelopes,
|
declarePublicCounter valid_envelopes,
|
||||||
"Received & posted valid envelopes"
|
"Received & posted valid envelopes"
|
||||||
declareCounter dropped_low_pow_envelopes,
|
declarePublicCounter dropped_low_pow_envelopes,
|
||||||
"Dropped envelopes because of too low PoW"
|
"Dropped envelopes because of too low PoW"
|
||||||
declareCounter dropped_too_large_envelopes,
|
declarePublicCounter dropped_too_large_envelopes,
|
||||||
"Dropped envelopes because larger than maximum allowed size"
|
"Dropped envelopes because larger than maximum allowed size"
|
||||||
declareCounter dropped_bloom_filter_mismatch_envelopes,
|
declarePublicCounter dropped_bloom_filter_mismatch_envelopes,
|
||||||
"Dropped envelopes because not matching with bloom filter"
|
"Dropped envelopes because not matching with bloom filter"
|
||||||
declareCounter dropped_benign_duplicate_envelopes,
|
declarePublicCounter dropped_benign_duplicate_envelopes,
|
||||||
"Dropped benign duplicate envelopes"
|
"Dropped benign duplicate envelopes"
|
||||||
declareCounter dropped_malicious_duplicate_envelopes,
|
declarePublicCounter dropped_malicious_duplicate_envelopes,
|
||||||
"Dropped malicious duplicate envelopes"
|
"Dropped malicious duplicate envelopes"
|
||||||
|
|
||||||
const
|
const
|
||||||
|
|
Loading…
Reference in New Issue