Open heavyarms2112 opened 1 year ago
Hi, you could set up Grafana and create an aggregate query or use a bash script - | grep v2_index_data_size_by_packing | grep spora_2_6 | awk '{print $NF}' | awk '{ sum += $1; } END { print sum; }' "$@"
.
I already do it in bash like below. Is that hard to implement in metrics?
curl -s localhost:1988/metrics | grep v2_index_data_size_by_packing | grep spora_2_6 | awk -F' ' '{sum+=$2;} END{print sum/1000000000;}'
curl localhost:1984/metrics | grep v2_index_data_size_by_packing | grep spora_2_6
Currently the above would result in chunk size total for each partition. Can we sum it up and have a counter for same available in metrics?