gno icon indicating copy to clipboard operation
gno copied to clipboard

chore: Telemetry updates, add prometheus listener

Open albttx opened this issue 8 months ago • 3 comments

This PR continue the works on https://github.com/gnolang/gno/pull/2408

Adding multiple features:

  • Add prefixes to all exported names, since they're all catched up in prometheus, it's a monitoring norm to have them all prefixed. It's simpler to created dashboards and check what's exposed. I used tm2 and gno as prefixes depending on what i believed it was linked, if i made a mistake, don't hesitate to tell me :)

  • The service instance was forced to gno-node-1, since we have multiple instance nodes now, it's better to have the possiblity to set it.

  • It's bringing back exposing a prometheus endpoint on /metrics on port ":26660".

Contributors' checklist...
  • [ ] Added new tests, or not needed, or not feasible
  • [ ] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory
  • [ ] Updated the official documentation or not needed
  • [ ] No breaking changes were made, or a BREAKING CHANGE: xxx message was included in the description
  • [ ] Added references to related issues and PRs
  • [ ] Provided any useful hints for running manual tests
  • [ ] Added new benchmarks to generated graphs, if any. More info here.

albttx avatar Jun 21 '24 09:06 albttx