tangle-network / relayer

🕸️ The Webb Relayer Network
https://webb-tools.github.io/relayer/
Apache License 2.0
22 stars 13 forks source link

[SPEC] Improve Relayer metrics for better user readability #387

Closed shekohex closed 1 year ago

shekohex commented 1 year ago

Overview

We want to make use of the Relayer metrics for various things, for making it easier for DevOps and relayer operators to monitor and create custom alerts on top of the metrics we export. And the motivation here to make this possible by making it more readable for the end user.

As of now, we currently create/export metrics for (Total gas fee spent, Total fees earned, and account balance) per resource id, this all good except that this not really readable, the result metrics looks like this resource_ 0000000000009678647b9fcb0039652a16dba688bd067d6e5077010000aa36a7_total_fees_earned which is not really useful on its own. We need to think of a better way.

Proposed solutions

TBD