-
Notifications
You must be signed in to change notification settings - Fork 3
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
DF-3081 - Created Dashboard to show Form count statistics #379
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rsbc-roadside-forms-backend-api:latest (redhat 8.10) - Trivy Report - 2024-09-25 19:31:57.980132256 +0000 UTC m=+0.363786737
|
rsbc-roadside-forms-frontend:latest (redhat 8.7) - Trivy Report - 2024-09-25 19:33:17.256843179 +0000 UTC m=+0.215561028
|
ratheesh-aot
changed the title
DF-3081 - Created Dashboard to show From count statistics
DF-3081 - Created Dashboard to show Form count statistics
Sep 26, 2024
rsbc-roadside-forms-backend-api:latest (redhat 8.10) - Trivy Report - 2024-09-26 20:32:08.605848788 +0000 UTC m=+0.360716441
|
rsbc-roadside-forms-frontend:latest (redhat 8.7) - Trivy Report - 2024-09-26 20:33:25.764184532 +0000 UTC m=+0.209099104
|
rsbc-roadside-forms-backend-api:latest (redhat 8.10) - Trivy Report - 2024-10-01 18:23:47.020674699 +0000 UTC m=+0.345582571
|
Quality Gate failedFailed conditions |
rsbc-roadside-forms-frontend:latest (redhat 8.7) - Trivy Report - 2024-10-01 18:25:21.179232974 +0000 UTC m=+0.221979347
|
adimar-aot
approved these changes
Oct 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue#: https://jag.gov.bc.ca/jirarsi/browse/DF-3081
1.Created an endpoint in prohibition to get form statistics /forms/statistics
Sample response
[ { "available_forms": 981, "form_type": "12Hour", "leased_forms": 14, "total_forms": 996, "total_used_forms": 1 }, { "available_forms": 982, "form_type": "24Hour", "leased_forms": 13, "total_forms": 996, "total_used_forms": 1 }, { "available_forms": 1000, "form_type": "IRP", "leased_forms": 0, "total_forms": 1000, "total_used_forms": 0 }, { "available_forms": 982, "form_type": "VI", "leased_forms": 13, "total_forms": 996, "total_used_forms": 1 } ]
2.Created a dashboard in frontend to show the visualization based on the data from the endpoint
3.Updated the header menu to accomodate links to Form inventory dashboard
Monitoring
a. Updated ride-monitoring-service to include this form statistics also and able to send data to Prometheus.
LINK TO PR
Once this PR is merged and went to prod it we can merge that one too.
b. Tested Prometheus and Grafana in local. We need to update Grafana rules in prod once this version is released to prod.