paritytech / polkadot-runtime-prom-exporter

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

unify json config files into one config.json, add distance between blocks for history mode #19

Closed gilles437 closed 2 years ago

gilles437 commented 2 years ago

Before deployment, we want to unify the 2 existing config files, parachains.json and parachains_load_history.json into one file for simplification. In addition, we add to the configuration file a new parameter named distanceBetweenBlocks that makes it possible to define the frequency when querying historical data for specific exporters. Finally, we add the latest package.json to make the docker build successful.

gilles437 commented 2 years ago

resolved with the latest commit