[go: up one dir, main page]

Node: Use RPC server for metrics

Context

This merge request allows to use RPC server for metrics.

This new version 1.0 of Resto now allows to launch a server with a specific callback. The Prometheus-app callback is now used as a callback for the RPC server.

This MR depends on opam-repository!357 (merged) as it requires Resto version 1.0

Manually testing the MR

  • Run a sandbox node (without any metrics server)
  • Check tezos-client rpc get /metrics

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR

Merge request reports

Loading