Added fix for logging signal metrics

Added a fix for signal metrics logging being too aggressive in cleaning output resulting to empty JSONs
This commit is contained in:
Russel Yasol
2025-01-12 17:25:00 +08:00
parent 259d50ee69
commit 97e45f66c6
2 changed files with 140 additions and 77 deletions

View File

@@ -5,7 +5,7 @@ echo "Content-Type: application/json"
echo ""
# Directory where JSON files are stored (adjust as needed)
JSON_DIR="/tmp/signal_graphs/"
JSON_DIR="/www/signal_graphs/"
# Function to safely read JSON file
read_json_file() {