Releases: FindoraNetwork/findora-exporter
1.3.3
1.3.2
adding a new metrics task
NativeBalance
the native token balance of reserving safe on source chain
( this metric displays with 8 digits as the fractional part so need to divide the metric value by 10 to the power of 8 )
1.3.1
1.3.0
- adjusting the original way of one task with one thread
- using fixed-size workers in a pool to consume tasks from one provider
1.2.2
Problem: Fixing if the length of balance is smaller than 10 will lead metric always show as 0.
Description:
by default, all balances will be divided by 10^10 to fulfill a huge number like 12223361650395605498 (decimal 18) can be put into i64 type.
but it leads if a balance is for example 538800000 will always show as 0 due to its length being smaller than 10.
Solution:
- adding basic decimal for each token of balance
- let all different decimals of balance match as 18 decimal
- divided by 10^12 left 6 decimal for displaying
1.2.1
Hotfix of duplicated metrics
situation:
when using config like below
{
"host_addr": "https://prod-testnet.prod.findora.org:8545",
"task_name": "BridgedSupply",
"frequency_ms": 15000,
"extra_opts": {
"token_address": "0x"
},
"registry": {
"prefix": "findora_exporter",
"env": "prod",
"token": "ETH_b",
"namespace": "testnet"
}
},
{
"host_addr": "https://data-seed-prebsc-1-s1.binance.org:8545",
"task_name": "BridgedBalance",
"frequency_ms": 15000,
"extra_opts": {
"erc20handler_address": "0x",
"token_address": "0x"
},
"registry": {
"prefix": "findora_exporter",
"env": "prod",
"token": "ETH",
"namespace": "testnet"
}
},
{
"host_addr": "https://prod-testnet.prod.findora.org:8545",
"task_name": "BridgedSupply",
"frequency_ms": 15000,
"extra_opts": {
"token_address": "0x"
},
"registry": {
"prefix": "findora_exporter",
"env": "prod",
"token": "WBNB_b",
"namespace": "testnet"
}
},
{
"host_addr": "https://data-seed-prebsc-1-s1.binance.org:8545",
"task_name": "BridgedBalance",
"frequency_ms": 15000,
"extra_opts": {
"erc20handler_address": "0x",
"token_address": "0x"
},
"registry": {
"prefix": "findora_exporter",
"env": "prod",
"token": "WBNB",
"namespace": "testnet"
}
}
since the extra_opts was not a hashing parameter in the target structure,
so the crawler will get the wrong metric instance by the same hashed signature.
Fix:
adding extra_opts as the hashing parameter.
1.2.0
adding two new metrics
-
BridgedBalance
- the token balance of reserving safe on source chain
- ( this metric displays with 8 digits as the fractional part so need to divide the metric value by 10 to the power of 8 )
-
BridgedSupply
- the token supply total minted on the destination chain
- ( this metric displays with 8 digits as the fractional part so need to divide the metric value by 10 to the power of 8 )
enhancing debugging log
let it be more clear and identical
adjusting action workflow to use cache
avg CI time from 2m30s to under 1m
enhancing documentation
describing more detail about how to use keccak256 with the simple POST method without any library to achieve the metrics crawling goal
1.1.1
- change library from chrono to time.rs for reducing binary size
- stabilize TotalBalanceOfRelayers test case by using BSC testnet bridge
- adding dockerfile and ghrc release
1.1.0
- adding a new metric
Total Balance Of Relayers
- adjusting config and crawler structures to let every crawler can specific to do one task of an endpoint itself
- refactoring to use generic Prometheus type for metrics mod
- extracting tasks into a mod
1.0.1
- adjusting default crawling frequency from 3 seconds to 15 seconds