Skip to content

Phase2: Implementation of metrics collectors for Dashboard#464

Open
kushagra0902 wants to merge 13 commits intocameri:mainfrom
kushagra0902:phase2
Open

Phase2: Implementation of metrics collectors for Dashboard#464
kushagra0902 wants to merge 13 commits intocameri:mainfrom
kushagra0902:phase2

Conversation

@kushagra0902
Copy link
Copy Markdown
Contributor

Description

This PR delivers Phase 2 of the dashboard service by replacing placeholder KPI generation with real PostgreSQL-backed metrics. Appropriate indexs are also added in the database for efficient querying.

Related Issue

Solves issue #144 partially by implementing phase 2 of the proposed plan

Motivation and Context

The main motivation is discussed in the issue discussion. TLDR: It helps in solving the problem of monitoring Relay performance by adding a dashboard showing the KPIs discussed.

How Has This Been Tested?

Unit tests have been added for the appropriate files. Other than this manual testing involves spinnig up relay server, and dashboard together and monitoring the dashboard endpoints

Screenshots (if appropriate):

N/A

Types of changes

  • Non-functional change (docs, style, minor refactor)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my code changes.
  • All new and existing tests passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant