How sanjana123642/sentryflow-console works
SentryFlow Console is a React log-monitoring dashboard. Its current workflow generates sample logs, stores them in Redux, checks alert thresholds, and presents live logs alongside filtering, history, search, frequency analytics, alert configuration, and simulated server health. The graph distinguishes UI orchestration, log and alert state, and analysis/health features. The README describes dashboard capabilities; the sampled implementation shows simulated data rather than connections to external log sources or notification services.
Main entry points: App.jsx App and views · ErrorFilterPanel.jsx Error filters · store.js Redux store · logSlice.js Log state
Components 21
Dashboard UI
- App and views
src/App.jsx - Live log stream
src/components/LiveLogStream.jsx - Virtualized history
src/components/VirtualizedLogHistory.jsx - Error filters
src/components/ErrorFilterPanel.jsx - Alert configuration
src/components/AlertForm.jsx - Regex search
src/components/RegexSearch.jsx - Frequency tracker
src/components/FrequencyTracker.jsx - Error frequency chart
src/components/ErrorFrequencyChart.jsx - Chart error boundary
src/components/GraphErrorBoundary.jsx - Server health panel
src/components/ServerStatusHub.jsx - React entry point
src/main.jsx
Log and Alert State
- Sample log generator
src/hooks/useLogGenerator.js - Filter state
src/redux/filterSlice.js - Alert state
src/redux/alertSlice.js - Log state
src/redux/logSlice.js - Redux store
src/redux/store.js
Analysis and Health
- Alert time formatting
src/utils/alertUtils.js - Regex utilities
src/utils/regexUtils.js - Frequency calculations
src/utils/frequencyUtils.js - Simulated server state
src/context/ServerContext.jsx
Other components
- Dashboard user
Connections 31
- Dashboard user → App and views: uses
README.md - React entry point → Redux store: provides state
src/main.jsx - React entry point → App and views: renders
src/main.jsx - App and views → Sample log generator: starts
src/App.jsx - Sample log generator → Log state: dispatches logs
src/hooks/useLogGenerator.js - Sample log generator → Alert state: dispatches triggers
src/hooks/useLogGenerator.js - App and views → Live log stream: renders
src/App.jsx - App and views → Virtualized history: renders
src/App.jsx - App and views → Error filters: renders
src/App.jsx - App and views → Filter state: dispatches undo redo
src/App.jsx - Error filters → Filter state: dispatches filters
src/components/ErrorFilterPanel.jsx - Error filters → Frequency calculations: computes counts
src/components/ErrorFilterPanel.jsx - Error filters → Log state: reads logs
src/components/ErrorFilterPanel.jsx - App and views → Alert configuration: renders
src/App.jsx - Alert configuration → Alert state: dispatches rules
src/components/AlertForm.jsx - Alert configuration → Alert time formatting: formats times
src/components/AlertForm.jsx - App and views → Regex search: renders
src/App.jsx - Regex search → Log state: reads logs
src/components/RegexSearch.jsx - Regex search → Regex utilities: builds and highlights
src/components/RegexSearch.jsx - Virtualized history → Regex utilities: uses matching
src/components/VirtualizedLogHistory.jsx - App and views → Frequency tracker: renders
src/App.jsx - Frequency tracker → Frequency calculations: calculates frequencies
src/components/FrequencyTracker.jsx - App and views → Chart error boundary: wraps chart
src/App.jsx - Chart error boundary → Error frequency chart: renders
src/App.jsx - Error frequency chart → Frequency calculations: calculates series
src/components/ErrorFrequencyChart.jsx - App and views → Server health panel: renders
src/App.jsx - App and views → Simulated server state: provides server state
src/App.jsx - Server health panel → Simulated server state: reads status
src/components/ServerStatusHub.jsx - Redux store → Log state: registers reducer
src/redux/store.js - Redux store → Filter state: registers reducer
src/redux/store.js - Redux store → Alert state: registers reducer
src/redux/store.js