When i am creating a dashboard for a pod memory usage, it is showing me a data properly and in the y axis unit which it use is bytes, now i want to get a that data into percentage (0-100), because i want to set a alert according to an usage of memory, so i have selected percentage unit, but after that it show me the percentage in 100000000%
i want to set a y axis from 0 - 100
So how can i able to do that, @Prashant Shahi@nitya-signoz@Arunachalam k, do you guys have any idea?
Here it is showing that how we can set a alert at a particular percentage is reached, i want that currently on my y axis, the percentage is showing 10000000% to 1000000000 %
i want to make a chart which show 0% to 100 % like chart.
here i have also tried to set a unit (0.0 - 1.0)
, but no changes.
@nitya-signoz
n
nitya-signoz
09/03/2024, 4:41 PM
So what I was trying to say is that to get a percentage you will have to use formula, in this example you can see the percentage was calculated by
f1
which is a formula and a,b is hidden. So you will have to create something similar to this.
nitya-signoz
09/03/2024, 4:42 PM
One query to get the used memory, one query to get the total memory and then divide it to get the value in percentage format.
SigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.