Skip to content

Instantly share code, notes, and snippets.

View mauri870's full-sized avatar
๐ŸŒŽ

Mauri de Souza Meneguzzo mauri870

๐ŸŒŽ
View GitHub Profile
@mauri870
mauri870 / generate_graphs.sh
Last active January 20, 2026 11:36 — forked from leehinman/generate_graphs.sh
Script to generate graphs from 30s metrics
#!/opt/homebrew/bin/bash
export QT_QPA_FONTDIR=/System/Library/Fonts
COMPONENTS=$(jq -r 'select (.message == "Non-zero metrics in the last 30s") | .component.id' *.ndjson | sort -u)
SAFE_COMPONENTS=()
for COMPONENT in $COMPONENTS
do
SAFE_COMPONENT=$(echo "$COMPONENT" | tr '/' '_')
SAFE_COMPONENTS+=($SAFE_COMPONENT)