paritytech / polkadot-runtime-prom-exporter

Prometheus exporter for polkadot runtime metrics
10 stars 3 forks source link

Pallet modularity multichain #14

Closed gilles437 closed 2 years ago

kianenigma commented 2 years ago

@gilles437 if you address the final comments in this branch, we can go ahead and merge it soon.

kianenigma commented 2 years ago

We really need a .prettierrc and format this branch, as the formatting is a bit broken. I have a working example here: https://github.com/substrate-portfolio/polkadot-portfolio/tree/master/core

shawntabrizi commented 2 years ago

Please write a description for this PR

gilles437 commented 2 years ago

Added in the latest version the support for storing metrics in timescalesdb, for runtime and history, and prometheus for runtime, working for any exporter. It is possible to use only timescalesdb, or only prometheus, or both of them. Every exporter works in multi thread mode for the historical part, and the main process takes care of the runtime for all of the metrics.

gilles437 commented 2 years ago

all new commits where done on branch timescasledb-history, therefore I close this PR, no need to merge this branch with master, https://github.com/paritytech/polkadot-runtime-prom-exporter/pull/17 will include all the changes mentioned above