| mstats avg(_value) as current where data.consumerName IN("XXXXXXX*") AND NOT (data.consumerName="*OH")AND host="*" AND `delphix_metrics_index` metric_name="system.capacity.consumer.size" span=30s by data.totalSpace, data.consumerName
| eval usage = round((current) / 1024 /1024/1024, 3)
| eval totalGB=round('data.totalSpace' / 1024 / 1024 / 1024, 3)
| eval name = 'data.consumerName'
| eval free = (totalGB - usage) ----------- i want pass the value to calculate the free space , the statment is not working can you please help
| chart avg(usage) as "Usage (GB)"
avg(totalGB) as "Total (GB)"
avg(free GB) as "FREE MB" by name
Hi @bmkreddy234 ,
Is the issue maybe that you refer to the free space as "avg(free GB)" instead of just avg(free)?
BR
Ralph
Hi @bmkreddy234 ,
Is the issue maybe that you refer to the free space as "avg(free GB)" instead of just avg(free)?
BR
Ralph
Do you see values for totalGB and usage before eval free statement ?
yes