Metrics
Humans.ai applications can be instrumented with Cosmos SDK telemetry to facilitate observation and insight gathering. This is achieved through the utilization of the go-metrics
package and the Prometheus client library, which unlocks the ability to expose various metric types, such as gauges and counters.
For guidance on optimal usage of these metrics, refer to this blog article.
Below is a list of Humans.ai modules that come equipped with custom metrics and telemetry, enabling you to run performance profiles and showcase them in a Grafana dashboard.
Supported Metrics
Metric | Description | Unit | Type |
---|---|---|---|
feemarket_base_fee | Amount of base fee per EIP-1559 block | token | gauge |
feemarket_block_gas | Amount of gas used in an EIP-1559 block | token | gauge |
recovery_ibc_on_recv_total | Total number of recoveries using the ibc onRecvPacket callback | recovery | counter |
recovery_ibc_on_recv_token_total | Total amount of tokens recovered using the ibc onRecvPacket callback | token | counter |
tx_msg_ethereum_tx_total | Total number of txs processed via the EVM | tx | counter |
tx_msg_ethereum_tx_gas_used_total | Total amount of gas used by an ethereum tx | token | counter |
tx_msg_ethereum_tx_gas_limit_per_gas_used | Ratio of gas limit to gas used for an ethereum tx | ratio | gauge |