I am trying to calculate the total number of occurrence of an metric (Which I am able to visualize) and then I want to calculate the percentage of occurrence out of total requests.
I have a metric ABC_Code which has many outputs (0,1,2,300,400....)
I want to calculate the ABC_Code:300 and then calculate its percentage by dividing it by total number (ABC_Code:"1" + ABC_Code:"2" + ABC_Code:"300" + ABC_Code:"400" +.....ABC_Code:"n")
I have tried following link but it didn't helped:
Kindly not that the values I am interested are very small (e.g. 10/10000000) and I want to display it as percentage.
Thanks in advance