Skip to content

Releases: FindoraNetwork/findora-exporter

1.3.3

31 Aug 05:03
c017968
Compare
Choose a tag to compare

Add new task
GetPrice

the close price of the related currency pair from gate.io ( this metric displays with 6 digits as the fractional part so need to divide the metric value by 10 to the power of 6 )

1.3.2

16 Aug 10:04
b0e10d0
Compare
Choose a tag to compare

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

03 Aug 11:56
096bcf3
Compare
Choose a tag to compare
  • fix total_balance_of_relayers trim extra zero of the relayer address

1.3.0

19 May 02:19
97d9c82
Compare
Choose a tag to compare
  • 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

18 Apr 09:13
22c0fb1
Compare
Choose a tag to compare

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:

  1. adding basic decimal for each token of balance
  2. let all different decimals of balance match as 18 decimal
  3. divided by 10^12 left 6 decimal for displaying

1.2.1

10 Feb 04:06
Compare
Choose a tag to compare

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

10 Feb 01:36
Compare
Choose a tag to compare

adding two new metrics

  1. 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 )
  2. 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

19 Jan 02:05
Compare
Choose a tag to compare
  1. change library from chrono to time.rs for reducing binary size
  2. stabilize TotalBalanceOfRelayers test case by using BSC testnet bridge
  3. adding dockerfile and ghrc release

1.1.0

03 Jan 03:39
Compare
Choose a tag to compare
  1. adding a new metric Total Balance Of Relayers
  2. adjusting config and crawler structures to let every crawler can specific to do one task of an endpoint itself
  3. refactoring to use generic Prometheus type for metrics mod
  4. extracting tasks into a mod

1.0.1

14 Dec 10:30
Compare
Choose a tag to compare
  • adjusting default crawling frequency from 3 seconds to 15 seconds