relayer_exporter

module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2023 License: Apache-2.0

README

relayer_exporter

Prometheus exporter for ibc clients. Returns metrics about clients expiration date.

Configuration

Exporter needs config file in yaml format like following

rpc:
  - chainId: archway-1
    url: https://rpc.mainnet.archway.io:443
  - chainId: agoric-3
    url: https://main.rpc.agoric.net:443

github:
  org: archway-network
  repo: networks
  dir: _IBC

During startup it fetches IBC paths from github based on provided config. Using provided RPC endpoints it gets clients expiration dates for fetched paths.

Metrics

# HELP cosmos_ibc_client_expiry Returns light client expiry in unixtime.
# TYPE cosmos_ibc_client_expiry gauge
cosmos_ibc_client_expiry{client_id="07-tendermint-23",host_chain_id="archway-1",target_chain_id="agoric-3"} 1.695283384e+09
cosmos_ibc_client_expiry{client_id="07-tendermint-75",host_chain_id="agoric-3",target_chain_id="archway-1"} 1.69528327e+09

Directories

Path Synopsis
cmd
pkg
ibc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL