Skip to content

Instantly share code, notes, and snippets.

@SGauthamRaj
Created December 29, 2025 12:59
Show Gist options
  • Select an option

  • Save SGauthamRaj/7dd7f54357419bba930538b96aa94fe5 to your computer and use it in GitHub Desktop.

Select an option

Save SGauthamRaj/7dd7f54357419bba930538b96aa94fe5 to your computer and use it in GitHub Desktop.
ERP Worker Comparison Report - With ERP (Debug) vs Without ERP - Dec 27, 2025
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ERP Worker Comparison Report - Dec 27, 2025</title>
<style>
:root {
--primary-color: #1a73e8;
--success-color: #34a853;
--warning-color: #fbbc04;
--danger-color: #ea4335;
--bg-dark: #1e1e2e;
--bg-card: #2d2d3f;
--text-primary: #ffffff;
--text-secondary: #a0a0b0;
--border-color: #3d3d4f;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, var(--bg-dark) 0%, #12121a 100%);
color: var(--text-primary);
min-height: 100vh;
padding: 20px;
}
.container {
max-width: 1400px;
margin: 0 auto;
}
.header {
text-align: center;
padding: 30px 0;
border-bottom: 2px solid var(--border-color);
margin-bottom: 30px;
}
.header h1 {
font-size: 2.5rem;
background: linear-gradient(90deg, #1a73e8, #34a853);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 10px;
}
.header .subtitle {
color: var(--text-secondary);
font-size: 1.1rem;
}
.header .timestamp {
color: var(--warning-color);
font-size: 0.9rem;
margin-top: 10px;
}
.job-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.job-card {
background: var(--bg-card);
border-radius: 12px;
padding: 25px;
border: 1px solid var(--border-color);
transition: transform 0.3s ease;
}
.job-card:hover {
transform: translateY(-5px);
}
.job-card.with-erp {
border-left: 4px solid var(--primary-color);
}
.job-card.without-erp {
border-left: 4px solid var(--success-color);
}
.job-card h3 {
font-size: 1.3rem;
margin-bottom: 15px;
display: flex;
align-items: center;
gap: 10px;
}
.job-card.with-erp h3 {
color: var(--primary-color);
}
.job-card.without-erp h3 {
color: var(--success-color);
}
.badge {
padding: 4px 10px;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 600;
}
.badge.debug {
background: rgba(251, 188, 4, 0.2);
color: var(--warning-color);
}
.badge.normal {
background: rgba(52, 168, 83, 0.2);
color: var(--success-color);
}
.job-details {
display: grid;
gap: 10px;
}
.detail-row {
display: flex;
justify-content: space-between;
padding: 8px 0;
border-bottom: 1px solid var(--border-color);
}
.detail-row:last-child {
border-bottom: none;
}
.detail-label {
color: var(--text-secondary);
font-size: 0.9rem;
}
.detail-value {
font-weight: 600;
font-family: 'Consolas', monospace;
font-size: 0.85rem;
}
.comparison-section {
background: var(--bg-card);
border-radius: 12px;
padding: 25px;
margin-bottom: 30px;
border: 1px solid var(--border-color);
}
.section-title {
font-size: 1.4rem;
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 10px;
}
.section-title .icon {
font-size: 1.5rem;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 15px;
}
th, td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid var(--border-color);
}
th {
background: rgba(26, 115, 232, 0.1);
color: var(--primary-color);
font-weight: 600;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 0.5px;
}
td {
font-size: 0.95rem;
}
tr:hover {
background: rgba(255, 255, 255, 0.02);
}
.metric-value {
font-family: 'Consolas', monospace;
font-weight: 600;
}
.diff-positive {
color: var(--danger-color);
}
.diff-negative {
color: var(--success-color);
}
.diff-neutral {
color: var(--text-secondary);
}
.progress-bar-container {
display: flex;
align-items: center;
gap: 15px;
}
.progress-bar {
flex: 1;
height: 24px;
background: var(--bg-dark);
border-radius: 12px;
overflow: hidden;
position: relative;
}
.progress-fill {
height: 100%;
border-radius: 12px;
transition: width 0.5s ease;
display: flex;
align-items: center;
justify-content: flex-end;
padding-right: 10px;
font-size: 0.8rem;
font-weight: 600;
}
.progress-fill.cpu {
background: linear-gradient(90deg, #1a73e8, #4285f4);
}
.progress-fill.memory {
background: linear-gradient(90deg, #34a853, #46c263);
}
.progress-label {
width: 120px;
font-size: 0.9rem;
color: var(--text-secondary);
}
.progress-value {
width: 80px;
text-align: right;
font-family: 'Consolas', monospace;
font-weight: 600;
}
.summary-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-top: 20px;
}
.summary-card {
background: var(--bg-dark);
border-radius: 10px;
padding: 20px;
text-align: center;
}
.summary-card .value {
font-size: 2rem;
font-weight: 700;
margin-bottom: 5px;
}
.summary-card .label {
color: var(--text-secondary);
font-size: 0.9rem;
}
.summary-card.cpu .value {
color: var(--primary-color);
}
.summary-card.memory .value {
color: var(--success-color);
}
.summary-card.logs .value {
color: var(--warning-color);
}
.summary-card.diff .value {
color: var(--danger-color);
}
.findings {
background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(52, 168, 83, 0.1));
border-radius: 12px;
padding: 25px;
margin-top: 30px;
}
.findings h3 {
margin-bottom: 20px;
color: var(--primary-color);
}
.finding-item {
display: flex;
align-items: flex-start;
gap: 15px;
padding: 15px 0;
border-bottom: 1px solid var(--border-color);
}
.finding-item:last-child {
border-bottom: none;
}
.finding-icon {
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
flex-shrink: 0;
}
.finding-icon.info {
background: rgba(26, 115, 232, 0.2);
}
.finding-icon.success {
background: rgba(52, 168, 83, 0.2);
}
.finding-icon.warning {
background: rgba(251, 188, 4, 0.2);
}
.finding-content h4 {
margin-bottom: 5px;
font-size: 1rem;
}
.finding-content p {
color: var(--text-secondary);
font-size: 0.9rem;
line-height: 1.5;
}
.timeline {
margin-top: 20px;
}
.timeline-row {
display: grid;
grid-template-columns: 100px 1fr 1fr;
gap: 15px;
padding: 10px 0;
border-bottom: 1px solid var(--border-color);
font-size: 0.9rem;
}
.timeline-row.header {
font-weight: 600;
color: var(--primary-color);
background: rgba(26, 115, 232, 0.1);
padding: 12px 10px;
border-radius: 8px;
margin-bottom: 5px;
}
.footer {
text-align: center;
padding: 30px 0;
margin-top: 30px;
border-top: 1px solid var(--border-color);
color: var(--text-secondary);
font-size: 0.9rem;
}
.footer a {
color: var(--primary-color);
text-decoration: none;
}
@media (max-width: 768px) {
.job-cards {
grid-template-columns: 1fr;
}
.header h1 {
font-size: 1.8rem;
}
table {
font-size: 0.85rem;
}
th, td {
padding: 8px 10px;
}
}
</style>
</head>
<body>
<div class="container">
<header class="header">
<h1>πŸ”„ ERP Worker Comparison Report</h1>
<p class="subtitle">With ERP (Debug Mode) vs Without ERP - Performance Analysis</p>
<p class="timestamp">πŸ“… Analysis Period: December 27, 2025 | 14:08 - 14:58 UTC | Environment: qa-prod</p>
</header>
<div class="job-cards">
<div class="job-card with-erp">
<h3>
<span>πŸ“˜ With ERP</span>
<span class="badge debug">DEBUG MODE</span>
</h3>
<div class="job-details">
<div class="detail-row">
<span class="detail-label">Job ID</span>
<span class="detail-value">69526d77f839a85aa5107818</span>
</div>
<div class="detail-row">
<span class="detail-label">Start Time (Est.)</span>
<span class="detail-value">Dec 27, 2025 14:08 UTC</span>
</div>
<div class="detail-row">
<span class="detail-label">Analysis Window</span>
<span class="detail-value">14:08 - 14:28 UTC (20 min)</span>
</div>
<div class="detail-row">
<span class="detail-label">Worker Type</span>
<span class="detail-value">integrator-workers-erpworker</span>
</div>
<div class="detail-row">
<span class="detail-label">Log Mode</span>
<span class="detail-value" style="color: #fbbc04;">DEBUG</span>
</div>
</div>
</div>
<div class="job-card without-erp">
<h3>
<span>πŸ“— Without ERP</span>
<span class="badge normal">NORMAL MODE</span>
</h3>
<div class="job-details">
<div class="detail-row">
<span class="detail-label">Job ID</span>
<span class="detail-value">695274a5f839a85aa51086ad</span>
</div>
<div class="detail-row">
<span class="detail-label">Start Time (Est.)</span>
<span class="detail-value">Dec 27, 2025 14:38 UTC</span>
</div>
<div class="detail-row">
<span class="detail-label">Analysis Window</span>
<span class="detail-value">14:38 - 14:58 UTC (20 min)</span>
</div>
<div class="detail-row">
<span class="detail-label">Worker Type</span>
<span class="detail-value">integrator-workers-erpworker</span>
</div>
<div class="detail-row">
<span class="detail-label">Log Mode</span>
<span class="detail-value" style="color: #34a853;">INFO</span>
</div>
</div>
</div>
</div>
<div class="summary-grid">
<div class="summary-card cpu">
<div class="value">+3.78%</div>
<div class="label">CPU Overhead (Debug)</div>
</div>
<div class="summary-card memory">
<div class="value">~0 GB</div>
<div class="label">Memory Difference</div>
</div>
<div class="summary-card logs">
<div class="value">+4.1%</div>
<div class="label">Log Volume Increase</div>
</div>
<div class="summary-card diff">
<div class="value">+756</div>
<div class="label">Additional Log Events</div>
</div>
</div>
<div class="comparison-section">
<h2 class="section-title">
<span class="icon">πŸ–₯️</span>
CPU Utilization Comparison
</h2>
<table>
<thead>
<tr>
<th>Metric</th>
<th>With ERP (Debug)</th>
<th>Without ERP</th>
<th>Difference</th>
</tr>
</thead>
<tbody>
<tr>
<td>Pod g5ltq - Avg CPU</td>
<td class="metric-value">77.53%</td>
<td class="metric-value">76.82%</td>
<td class="metric-value diff-positive">+0.71% ⬆️</td>
</tr>
<tr>
<td>Pod g5ltq - Max CPU</td>
<td class="metric-value">80.07%</td>
<td class="metric-value">80.67%</td>
<td class="metric-value diff-negative">-0.60% ⬇️</td>
</tr>
<tr>
<td>Pod g5ltq - Min CPU</td>
<td class="metric-value">74.31%</td>
<td class="metric-value">66.07%</td>
<td class="metric-value diff-positive">+8.24% ⬆️</td>
</tr>
<tr>
<td>Pod wpdl7 - Avg CPU</td>
<td class="metric-value">74.26%</td>
<td class="metric-value">67.42%</td>
<td class="metric-value diff-positive">+6.84% ⬆️</td>
</tr>
<tr>
<td>Pod wpdl7 - Max CPU</td>
<td class="metric-value">82.39%</td>
<td class="metric-value">84.38%</td>
<td class="metric-value diff-negative">-1.99% ⬇️</td>
</tr>
<tr>
<td>Pod wpdl7 - Min CPU</td>
<td class="metric-value">62.26%</td>
<td class="metric-value">35.37%</td>
<td class="metric-value diff-positive">+26.89% ⬆️</td>
</tr>
<tr style="background: rgba(26, 115, 232, 0.1);">
<td><strong>Combined Average CPU</strong></td>
<td class="metric-value"><strong>75.90%</strong></td>
<td class="metric-value"><strong>72.12%</strong></td>
<td class="metric-value diff-positive"><strong>+3.78% ⬆️</strong></td>
</tr>
</tbody>
</table>
<div style="margin-top: 25px;">
<h4 style="margin-bottom: 15px; color: var(--text-secondary);">Visual Comparison</h4>
<div class="progress-bar-container">
<span class="progress-label">With ERP (Debug)</span>
<div class="progress-bar">
<div class="progress-fill cpu" style="width: 75.9%;">75.9%</div>
</div>
</div>
<div class="progress-bar-container" style="margin-top: 10px;">
<span class="progress-label">Without ERP</span>
<div class="progress-bar">
<div class="progress-fill cpu" style="width: 72.12%; background: linear-gradient(90deg, #34a853, #46c263);">72.1%</div>
</div>
</div>
</div>
</div>
<div class="comparison-section">
<h2 class="section-title">
<span class="icon">πŸ’Ύ</span>
Memory Utilization Comparison
</h2>
<table>
<thead>
<tr>
<th>Metric</th>
<th>With ERP (Debug)</th>
<th>Without ERP</th>
<th>Difference</th>
</tr>
</thead>
<tbody>
<tr>
<td>Pod g5ltq - Avg Memory</td>
<td class="metric-value">5.60 GB</td>
<td class="metric-value">5.60 GB</td>
<td class="metric-value diff-neutral">~0 GB</td>
</tr>
<tr>
<td>Pod g5ltq - Max Memory</td>
<td class="metric-value">5.61 GB</td>
<td class="metric-value">5.61 GB</td>
<td class="metric-value diff-neutral">~0 GB</td>
</tr>
<tr>
<td>Pod wpdl7 - Avg Memory</td>
<td class="metric-value">5.04 GB</td>
<td class="metric-value">5.04 GB</td>
<td class="metric-value diff-neutral">~0 GB</td>
</tr>
<tr>
<td>Pod wpdl7 - Max Memory</td>
<td class="metric-value">5.12 GB</td>
<td class="metric-value">5.06 GB</td>
<td class="metric-value diff-positive">+0.06 GB ⬆️</td>
</tr>
<tr style="background: rgba(52, 168, 83, 0.1);">
<td><strong>Combined Average Memory</strong></td>
<td class="metric-value"><strong>5.32 GB</strong></td>
<td class="metric-value"><strong>5.32 GB</strong></td>
<td class="metric-value diff-neutral"><strong>~0 GB</strong></td>
</tr>
</tbody>
</table>
<div style="margin-top: 25px;">
<h4 style="margin-bottom: 15px; color: var(--text-secondary);">Memory Usage (GB)</h4>
<div class="progress-bar-container">
<span class="progress-label">With ERP (Debug)</span>
<div class="progress-bar">
<div class="progress-fill memory" style="width: 88.6%;">5.32 GB</div>
</div>
<span class="progress-value">/ 6 GB</span>
</div>
<div class="progress-bar-container" style="margin-top: 10px;">
<span class="progress-label">Without ERP</span>
<div class="progress-bar">
<div class="progress-fill memory" style="width: 88.6%;">5.32 GB</div>
</div>
<span class="progress-value">/ 6 GB</span>
</div>
</div>
</div>
<div class="comparison-section">
<h2 class="section-title">
<span class="icon">πŸ“‹</span>
Log Volume Comparison
</h2>
<table>
<thead>
<tr>
<th>Metric</th>
<th>With ERP (Debug)</th>
<th>Without ERP</th>
<th>Difference</th>
</tr>
</thead>
<tbody>
<tr>
<td>Total Log Events</td>
<td class="metric-value">19,082</td>
<td class="metric-value">18,326</td>
<td class="metric-value diff-positive">+756 (+4.1%) ⬆️</td>
</tr>
<tr>
<td>Pod g5ltq Logs</td>
<td class="metric-value">12,133</td>
<td class="metric-value">12,960</td>
<td class="metric-value diff-negative">-827 ⬇️</td>
</tr>
<tr>
<td>Pod wpdl7 Logs</td>
<td class="metric-value">6,948</td>
<td class="metric-value">5,365</td>
<td class="metric-value diff-positive">+1,583 (+29.5%) ⬆️</td>
</tr>
<tr>
<td>Log Levels</td>
<td class="metric-value">info, warn, 40</td>
<td class="metric-value">info, warn, 40</td>
<td class="metric-value diff-neutral">Same</td>
</tr>
<tr>
<td>Operation Types</td>
<td class="metric-value">17</td>
<td class="metric-value">17</td>
<td class="metric-value diff-neutral">Same</td>
</tr>
</tbody>
</table>
</div>
<div class="comparison-section">
<h2 class="section-title">
<span class="icon">⏱️</span>
CPU Timeline (5-min intervals during With ERP window)
</h2>
<div class="timeline">
<div class="timeline-row header">
<span>Time (UTC)</span>
<span>Pod g5ltq CPU %</span>
<span>Pod wpdl7 CPU %</span>
</div>
<div class="timeline-row">
<span>14:08</span>
<span class="metric-value">76.91%</span>
<span class="metric-value">77.80%</span>
</div>
<div class="timeline-row">
<span>14:13</span>
<span class="metric-value">76.69%</span>
<span class="metric-value">73.51%</span>
</div>
<div class="timeline-row">
<span>14:18</span>
<span class="metric-value">77.77%</span>
<span class="metric-value">74.12%</span>
</div>
<div class="timeline-row">
<span>14:23</span>
<span class="metric-value">78.78%</span>
<span class="metric-value">71.62%</span>
</div>
<div class="timeline-row">
<span>14:28</span>
<span class="metric-value">78.76%</span>
<span class="metric-value">67.59%</span>
</div>
<div class="timeline-row">
<span>14:33</span>
<span class="metric-value">79.35%</span>
<span class="metric-value">57.16%</span>
</div>
</div>
</div>
<div class="findings">
<h3>πŸ”‘ Key Findings & Recommendations</h3>
<div class="finding-item">
<div class="finding-icon info">πŸ“Š</div>
<div class="finding-content">
<h4>CPU Overhead is Moderate</h4>
<p>Debug mode uses approximately <strong>3.78% more CPU</strong> on average. This is a reasonable overhead for enhanced logging and is within acceptable limits for debugging sessions.</p>
</div>
</div>
<div class="finding-item">
<div class="finding-icon success">βœ…</div>
<div class="finding-content">
<h4>Memory Impact is Negligible</h4>
<p>Both modes show virtually <strong>identical memory usage</strong> (~5.32 GB average). Debug logging does not significantly impact memory consumption.</p>
</div>
</div>
<div class="finding-item">
<div class="finding-icon warning">πŸ“</div>
<div class="finding-content">
<h4>Log Volume Increase is Minimal</h4>
<p>Debug mode generates approximately <strong>4% more log events</strong>. This is a manageable increase for temporary debugging purposes with minimal storage impact.</p>
</div>
</div>
<div class="finding-item">
<div class="finding-icon info">πŸ”„</div>
<div class="finding-content">
<h4>Higher CPU Floor in Debug Mode</h4>
<p>Debug mode shows <strong>higher minimum CPU utilization</strong> (less idle time), indicating more consistent processing activity due to logging operations.</p>
</div>
</div>
<div class="finding-item">
<div class="finding-icon success">πŸ’‘</div>
<div class="finding-content">
<h4>Production Recommendation</h4>
<p>It is <strong>safe to enable debug mode temporarily</strong> for troubleshooting without significant resource concerns. Current 2-pod setup handles both modes effectively with CPU headroom (~84% max).</p>
</div>
</div>
</div>
<footer class="footer">
<p>Generated from <strong>Splunk</strong> (qa-prod index) and <strong>New Relic</strong> (K8sContainerSample) data</p>
<p style="margin-top: 10px;">Report Generated: December 29, 2025 | Analysis by AI Assistant</p>
<p style="margin-top: 5px; font-size: 0.8rem; color: #666;">
Note: Specific job IDs were not found in indexed logs. Analysis based on aggregate ERP worker metrics during estimated job execution windows.
</p>
</footer>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment