cpu_spike_analysis/spike_visualizer/index.html

73 lines
No EOL
2.2 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CPU Spike Visualizer</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header class="app-header spike-visualizer-header" id="app-header">
<h1>CPU Spike Visualizer</h1>
<div class="global-filter">
<input type="text" id="global-search" placeholder="Filter eingeben..." aria-label="Globaler Filter">
</div>
</header>
<main>
<aside class="filter-panel" id="filter-panel">
<h2>Filter</h2>
<form id="filter-form">
<label for="cpu-id">CPU-ID:</label>
<input type="number" id="cpu-id" name="cpu_id" min="0">
<label for="reorder-range">Reorder Score (Min - Max):</label>
<input type="number" id="reorder-min" name="reorder_min" step="0.1" placeholder="Min">
<input type="number" id="reorder-max" name="reorder_max" step="0.1" placeholder="Max">
<label for="time-range">Zeitbereich:</label>
<input type="datetime-local" id="start-time" name="start_time">
<input type="datetime-local" id="end-time" name="end_time">
<button type="submit">Anwenden</button>
</form>
</aside>
<section class="chart-container d3-chart" id="main-chart">
<h2>Interaktive CPU-Spike-Visualisierung</h2>
<div id="chart-area"></div>
</section>
<div class="metric-summary" id="metric-summary">
<h3>Metrik-Zusammenfassung</h3>
<ul>
<li>Anzahl Spikes: <span id="metric-total"></span></li>
<li>Durchschnittlicher reorder_score: <span id="metric-avg-reorder"></span></li>
</ul>
</div>
<table class="spike-table" id="spike-table">
<thead>
<tr>
<th>ID</th>
<th>CPU-ID</th>
<th>Timestamp</th>
<th>Reorder Score</th>
<th>Publish Rate</th>
<th>Migration</th>
</tr>
</thead>
<tbody>
<!-- Dynamische Datenzeilen -->
</tbody>
</table>
</main>
<footer class="app-footer" id="app-footer">
<p>© 2026 Donau2Space.de</p>
</footer>
<script src="js/api.js"></script>
<script src="js/app.js"></script>
</body>
</html>