paritytech / cumulus

Write Parachains on Substrate
GNU General Public License v3.0
618 stars 378 forks source link

Track Contract Performance on Parachains #1007

Open HCastano opened 3 years ago

HCastano commented 3 years ago

As part of https://github.com/paritytech/substrate/issues/9354 we want to be able to track the performance of smart contracts on canvas-node like chains.

Ideally this involves having some sort of ephemeral testnet on which we run simulated smart contract transactions and see how performance scales.

rphmeier commented 3 years ago

May I suggest a Grafana dashboard + some clever prometheus metrics to track gas used per block on average or other metrics? We want to know how this does in production, and the metrics of a deployed Rococo node are the closest to production we can get in testing.

rphmeier commented 2 years ago

https://github.com/paritytech/polkadot-introspector might help

hoonsubin commented 2 years ago

https://github.com/paritytech/polkadot-introspector might help

The repo seems to be moved somewhere, I cannot access it anymore. Is there another way to monitor contract performance?

rphmeier commented 2 years ago

Sorry, it's a private repo (for now), but it doesn't help much with this yet anyway. My original suggestion still stands: Create some sidecar process that exports prometheus metrics about the state of the blockchain and build dashboards based on that.