internet-computer-protocol / evm-rpc-canister

Interact with EVM blockchains from the Internet Computer.
https://internetcomputer.org/docs/current/developer-docs/multi-chain/ethereum/evm-rpc/overview
Apache License 2.0
63 stars 13 forks source link

feat: add canister metrics #107

Closed rvanasa closed 9 months ago

rvanasa commented 10 months ago

Includes metrics available on the /metrics HTTP endpoint in the standard ic-metrics-encoder format.

Progress:

Note that the metrics are currently not stored in stable memory, so redeploying the canister will reset the metrics. This is intentional to allow breaking changes over time and will also make it quicker to recognize problems with newly deployed canisters. Total statistics can be computed from downstream monitoring services by integrating over all increases in metric numbers. Suggestions are welcome for different ways to approach persistence between upgrades.

Resolves #86.