PC: prometheus block time metrics are incorrectly reported
Closed this issue · 8 comments
I have manually checked the returned results and they seem to be quite sane (meaning the relation between count
and the real buckets). Is it count
shown on the graph or is it sum
?
avg(increase(introspector_pc_para_block_time_bucket{chain="$chain", parachain_id="$parachain_id"}[$__rate_interval])) by (le)
@AndreiEres does our deployment subscribe to finalized or best blocks ? We should follow the finalized chain for monitoring.
If it's best block then those extra blocks are explained as parachains build on all forks.
does our deployment subscribe to finalized or best blocks
Yep, it subscribes to finalized blocks.
I also tried to reproduce the bug but didn't manage to. The block time I got is about 12s.
The block time values are ok, but the issue is that there are too many blocks reported -> samples in a bucket
Also, maybe the issue is fixed in latest version ?
Also, maybe the issue is fixed in latest version ?
I'm not sure that we made some relevant changes to accidentally fix it.
Found that the problem was with queries