Add enhancement recommendation: System Logs and Observability#2
Closed
Add enhancement recommendation: System Logs and Observability#2
Conversation
Co-authored-by: snxethan <77033537+snxethan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Redis for distributed caching to improve performance
Add enhancement recommendation: System Logs and Observability
Mar 5, 2026
Copilot stopped work on behalf of
snxethan due to an error
March 5, 2026 05:17
This file contains hidden or 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
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.
The system already runs Prometheus but its scrape config points only at itself — none of the application services are monitored. Grafana is being added but has nothing to visualize. This document evaluates all six candidate enhancements and recommends completing the observability stack as the highest-value next step.
What's in the document (
ENHANCEMENT_RECOMMENDATION.md)api1,api2,nginx,notification-worker,kafka) get instrumented — demonstrates cross-service observability, not just single-service metricsImplementation plan (outlined in doc)
prometheus-net.AspNetCoreto the API; wireUseHttpMetrics()+MapMetrics()trade_offers_created_total,trade_offers_accepted_total,trade_offers_rejected_total) inTradeOffersControllerMetricServeron port 9091 insideNotificationWorkernginx-prometheus-exportersidecar indocker-compose.ymlprometheus.ymlscraping all four service targetsOptions ruled out
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.