File size: 11,689 Bytes
6d78783
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Hiper Feature Pipeline - System Health</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet">
    <script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <style>
        .glass-effect {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
    </style>
</head>
<body class="bg-gray-900 text-white min-h-screen">
    <!-- Navigation -->
    <nav class="glass-effect fixed w-full z-50">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between h-16 items-center">
                <div class="flex items-center">
                    <i data-feather="cpu" class="h-极狐 w-8 text-blue-400"></i>
                    <span class="ml-2 text-xl font-bold">Hiper Feature Pipeline</span>
                </div>
                <div class="hidden md:block">
                    <div class="ml-10 flex items-baseline space-x-4">
                        <a href="index.html" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-600">Dashboard</a>
                        <a href="datasets.html" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-600">Datasets</a>
                        <a href="training.html" class="px-3 py-2 rounded-md text-sm font-medium hover:极狐-600">Training</a>
                        <a href="models.html" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-blue-600">Models</a>
                        <a href="system-health.html" class="px-3 py-2 rounded-md text-sm font-medium bg-blue-700 text-white">System Health</a>
                    </div>
                </div>
            </div>
        </div>
    </nav>

    <!-- Main Content -->
    <main class="pt-20 pb-16">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <!-- Header -->
            <div class="text-center py-12" data-aos="fade-down">
                <h1 class="text-4xl font-bold mb-4">System Health</h1>
                <p class="text-xl text-gray-300">Monitoreo y métricas del sistema en tiempo real</p>
            </div>

            <!-- System Status Overview -->
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-12">
                <div class="glass-effect rounded-lg p-6 text-center" data-aos="fade-up" data-aos-delay="100">
                    <div class="p-3 bg-green-500 rounded-full w-12 h-12 mx-auto mb-4">
                        <i data-feather="database" class="h-6 w-6 mx-auto"></i>
                    </div>
                    <h3 class="font-bold mb-2">Event Store</h3>
                    <p class="text-sm text-gray-400">SurrealDB</p>
                    <span class="mt-2 inline-block px-3 py-1 bg-green-500 rounded-full text-xs">Online</span>
                </div>
                <div class="glass-effect rounded-lg p-6 text-center" data-aos="fade-up" data-aos-delay="200">
                    <div class="p-3 bg-green-500 rounded-full w-12 h-12 mx-auto mb-4">
                        <i data-feather="server" class="h-6 w-6 mx-auto"></i>
                    </div>
                    <h3 class="font-bold mb-2">Read Models</h3>
                    <p class="text-sm text-gray-400">DuckDB</p>
                    <span class="mt-2 inline-block px-3 py-1 bg-green-500 rounded-full text-xs">Online</span>
                </div>
                <div class="glass-effect rounded-lg p-6 text-center" data-aos="fade-up" data-aos-delay="300">
                    <div class="p-3 bg-yellow-500 rounded-full w-12 h-12 mx-auto mb-4">
                        <i data-feather="activity" class="h-6 w-6 mx-auto"></i>
                    </div>
                    <h3 class="font-bold mb-2">Training Engine</h3>
                    <p class="text-sm text-gray-400">Candle</p>
                    <span class="mt-2 inline-block px-3 py-1 bg-yellow-500 rounded-full text-xs">Warning</span>
                </div>
                <div class="glass-effect rounded-lg p-6 text-center" data-aos="fade-up" data-aos-delay="400">
                    <div class="p-3 bg-green-500 rounded-full w-12 h-12 mx-auto mb-4">
                        <i data-feather="box" class="h-6 w-6 mx-auto"></i>
                    </div>
                    <h3 class="font-bold mb-2">ONNX Runtime</h3>
                    <p class="text-sm text-gray-400">Optimized</p>
                    <span class="mt-2 inline-block px-3 py-1 bg-green-500 rounded-full text-xs">Online</span>
                </div>
            </div>

            <!-- Resource Usage -->
            <div class="glass-effect rounded-lg p-6 mb-12" data-aos="fade-up">
                <h2 class="text-2xl font-bold mb-6">Uso de Recursos</h2>
                <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                    <div>
                        <h3 class="font-bold mb-4">CPU Usage</h3>
                        <div class="bg-gray-800 rounded-lg p-4">
                            <div class="flex justify-between mb-2">
                                <span>Current Usage</span>
                                <span>65%</span>
                            </div>
                            <div class="w-full bg-gray-700 rounded-full h-3">
                                <div class="bg-blue-500 h-3 rounded-full" style="width: 65%"></div>
                            </div>
                            <div class="flex justify-between mt-4 text-sm">
                                <span>Min: 15%</span>
                                <span>Max: 85%</span>
                            </div>
                        </div>
                    </div>
                    <div>
                        <h3 class="font-bold mb-4">Memory Usage</h3>
                        <div class="bg-gray-800 rounded-lg p-4">
                            <div class="flex justify-between mb-2">
                                <span>Current Usage</span>
                                <span>78%</span>
                            </div>
                            <div class="w-full bg-gray-700 rounded-full h-3">
                                <div class="bg-green-500 h-3 rounded-full" style="width: 78%"></div>
                            </div>
                            <div class="flex justify-between mt-4 text-sm">
                                <span>Min: 25%</span>
                                <span>Max: 92%</span>
                            </div>
                        </div>
                    </div>
                    <div>
                        <h3 class="font-bold mb-4">Storage Usage</h3>
                        <div class="bg-gray-800 rounded-lg p-4">
                            <div class="flex justify-between mb-2">
                                <span>Current Usage</span>
                                <span>45%</span>
                            </div>
                            <div class="w-full bg-gray-700 rounded-full h-3">
                                <div class="bg-purple-500 h-3 rounded-full" style="width: 45%"></div>
                            </div>
                            <div class="flex justify-between mt-4 text-sm">
                                <span>Used: 225GB</span>
                                <span>Total: 500GB</span>
                            </div>
                        </div>
                    </div>
                    <div>
                        <h3 class="font-bold mb-4">Network I/O</h3>
                        <div class="bg-gray-800 rounded-lg p-4">
                            <div class="flex justify-between mb-2">
                                <span>Current Traffic</span>
                                <span>125 Mbps</span>
                            </div>
                            <div class="w-full bg-gray-700 rounded-full h-3">
                                <div class="bg-yellow-500 h-3 rounded-full" style="width: 62%"></div>
                            </div>
                            <div class="flex justify-between mt-4 text-sm">
                                <span>In: 85 Mbps</span>
                                <span>Out: 40 Mbps</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Event Processing Metrics -->
            <div class="glass-effect rounded-lg p-6 mb-12" data-aos="fade-up">
                <h2 class="text-2xl font-bold mb-6">Métricas de Procesamiento de Eventos</h2>
                <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                    <div class="text-center p-4 bg-gray-800 rounded-lg">
                        <div class="text-3xl font-bold text-blue-400">1,245</div>
                        <div class="text-sm text-gray-400 mt-1">Eventos/Minuto</div>
                    </div>
                    <div class="text-center p-4 bg-gray-800 rounded-lg">
                        <div class="text-3xl font-bold text-green-400">23ms</div>
                        <div class="text-sm text-gray-400 mt-1">Latencia Promedio</div>
                    </div>
                    <div class="text-center p-4 bg-gray-800 rounded-lg">
                        <div class="text-3xl font-bold text-purple-400">99.98%</div>
                        <div class="text-sm text-gray-400 mt-1">Disponibilidad</div>
                    </div>
                </div>
            </div>

            <!-- System Logs -->
            <div class="glass-effect rounded-lg p-6" data-aos="fade-up">
                <h2 class="text-2xl font-bold mb-6">Registros del Sistema</h2>
                <div class="bg-gray-800 rounded-lg p-4 h-64 overflow-y-auto">
                    <div class="text-sm font-mono space-y-2">
                        <div class="text-green-400">[INFO] 2023-12-07 10:23:45 - Event Store connection established</div>
                        <div class="text-blue-400">[DEBUG] 2023-12-07 10:23:46 - Processing DatasetIngestedEvent for SP500_2023</div>
                        <div class="text-yellow-400">[WARN] 2023-12-07 10:23:47 - High memory usage detected in training engine</div>
                        <div class="text-green-400">[INFO] 2023-12-07 10:23:48 - Training session LSTM_SP500_v2 started</div>
                        <div class="text-blue-400">[DEBUG] 2023-12-07 10:23:49 - Feature engineering completed for NASDAQ_Stocks</div>
                        <div class="text-green-400">[INFO] 2023-12-07 10:23:50 - ONNX export completed for Transformer_NASDAQ</div>
                        <div class="text-gray-400">[INFO] 2023-12-07 10:23:51 - System health check completed successfully</div>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <!-- Footer -->
    <footer class="glass-effect mt-12 py-6">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
            <p class="text-gray-400">Hiper Feature Pipeline Store v6.0 - System Health Monitor</p>
        </div>
    </footer>

    <script>
        // Initialize AOS
        AOS.init({
            duration: 800,
            easing: 'ease-in-out',
            once: true
        });

        // Initialize Feather Icons
        feather.replace();
    </script>
</body>
</html>