You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.
We are currently using an IntGauge metric type by rust-prometheus which supports i64 values to store the latest block height seen by the indexer. In its current state, this is fine, but as time goes by and this value gets larger and eventually goes out of bounds, it can cause a runtime exception or give us skewed metrics. We would like to avoid casting the u64 block height into a i64 value and instead use a guage metric type that supports u64 directly.
rust-prometheus currently does not support a Guage type for u64 values, so we have submitted an issue for that.
We are currently using an
IntGauge
metric type byrust-prometheus
which supports i64 values to store the latest block height seen by the indexer. In its current state, this is fine, but as time goes by and this value gets larger and eventually goes out of bounds, it can cause a runtime exception or give us skewed metrics. We would like to avoid casting the u64 block height into a i64 value and instead use a guage metric type that supports u64 directly.rust-prometheus
currently does not support a Guage type for u64 values, so we have submitted an issue for that.tikv/rust-prometheus#470
The text was updated successfully, but these errors were encountered: