-
Notifications
You must be signed in to change notification settings - Fork 7
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
Revert "Improvements/code cleanup" #41
Conversation
Caution Review failedThe pull request is closed. WalkthroughThis pull request introduces a comprehensive refactoring of the application's logging, monitoring, and telemetry infrastructure. The changes involve replacing the existing logging mechanism with a custom logger using Winston, removing Redis-based caching, and introducing a new telemetry module for enhanced event tracking. The modifications span across multiple services, modules, and configuration files, focusing on improving observability and simplifying the application's dependency structure. Changes
Sequence DiagramsequenceDiagram
participant Client
participant TelemetryController
participant TelemetryService
participant PrismaService
participant CustomLogger
Client->>TelemetryController: POST /capture telemetry log
TelemetryController->>TelemetryService: capture(logData)
TelemetryService->>PrismaService: create telemetry log
PrismaService-->>TelemetryService: log created
TelemetryService-->>TelemetryController: return created log
TelemetryController-->>Client: 201 Created
CustomLogger->>CustomLogger: Format and log message
CustomLogger->>Axiom: Send log (if production)
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (28)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Reverts #39
Summary by CodeRabbit
Release Notes
New Features
TelemetryController
for capturing and retrieving telemetry logs.TelemetryService
to manage telemetry data operations.UserController
for enhanced user verification.Improvements
CustomLogger
.Bug Fixes
CacheProvider
.Documentation
Chores