Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: prometheus metrics #36

Open
9 tasks
Galeaf11 opened this issue May 30, 2022 · 0 comments
Open
9 tasks

feat: prometheus metrics #36

Galeaf11 opened this issue May 30, 2022 · 0 comments
Assignees
Labels
A-tests Area: tests D-chore Difficulty: chore P-normal Priority: normal T-meta Type: meta

Comments

@Galeaf11
Copy link
Contributor

Galeaf11 commented May 30, 2022

Problem

As the number of components increase in lpms-server, the complexity of diagnosing bugs increases.

Solution

Implement prometheus metrics for monitoring the components of lpms-server, particularly:

  • Express monitoring:
  • Monitor all response codes that are sent from express, ie 200, 400, 500, etc etc.
  • Waku monitoring:
  • How frequently messages arrive via waku - including monitoring on what contentTopic
  • Peer connect / disconnect events (ie. when waku connects to a new node, or drops the connection to an existing node.
  • Monitor malformed protobuf messages.
  • Videre monitoring:
  • Each time an 'ask' is received (also store the checkIn / checkOut dates, and other query parameters)
  • Each time a 'bid' was made (ie. a space was offered, and what space was offered)
  • Booking engine monitoring:
  • Time taken to process a query (including if an offer was made) - this is to allow monitoring of the performance for the query engine, breaking down by number of offers made in responding.
  • Blockchain monitoring:
  • Each time a user makes a booking (including gem and wad)
  • Each time a settlement is made.
@Galeaf11 Galeaf11 self-assigned this May 30, 2022
@mfw78 mfw78 changed the title Prometeus metrics Prometheus metrics May 30, 2022
@mfw78 mfw78 added D-chore Difficulty: chore A-tests Area: tests P-normal Priority: normal T-meta Type: meta labels May 30, 2022
@mfw78 mfw78 transferred this issue from windingtree/win-stays Jun 7, 2022
@mfw78 mfw78 added this to the DappCon & Devcon Bogotá milestone Jun 7, 2022
@mfw78 mfw78 changed the title Prometheus metrics feat: prometheus metrics Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tests Area: tests D-chore Difficulty: chore P-normal Priority: normal T-meta Type: meta
Projects
None yet
Development

No branches or pull requests

2 participants