Skip to content

Commit

Permalink
Merge pull request #194 from igsilya/resource-usage-central
Browse files Browse the repository at this point in the history
do.sh: Fix bloating of the resource usage report for central nodes.
  • Loading branch information
dceara authored Mar 5, 2024
2 parents 73cefb4 + 50f056d commit a8631ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion do.sh
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,10 @@ function mine_data() {
grep died ${logs} | sed 's/.*\/\(ovn-.*\)/\1/' > mined-data/crashes
[ -s mined-data/crashes ] || rm -f mined-data/crashes

# Collecting stats for the tester and central components from the first
# 3 availability zones to avoid bloating the report.
resource_usage_logs=$(find ${out_dir}/logs -name process-stats.json \
| grep -v ovn-scale)
| grep -E 'ovn-tester|ovn-central-az[0-2]-')
python3 ${topdir}/utils/process-stats.py \
resource-usage-report-central.html ${resource_usage_logs}

Expand Down

0 comments on commit a8631ec

Please sign in to comment.