dymensionxyz / dymint

Sequencing Engine for Dymension RollApps
Other
90 stars 61 forks source link

fix(metrics): pass metrics to mempool init #846

Closed artemijspavlovs closed 1 month ago

artemijspavlovs commented 1 month ago

PR Standards

Opening a pull request should be able to meet the following requirements


this change passes the received metrics provider from function arguments down to dymint mempool creation. after enabling this, mempool size metric is available on the /metrics endpoint. Other metrics will come in a separate PR.

❯ curl localhost:2112/metrics | grep dymint
# TYPE dymint_mempool_size gauge
dymint_mempool_size 0

For Author:


For Reviewer:


After reviewer approval: