## Controller (SaaS, On Premise)

cancel
Showing results for
Did you mean:

SOLVED
Builder

## Re: Calculate uptime/downtime per day

Thanks,

The information was very useful but it is not exactly what we need.

We have 2 transactions that compose the Login action. What we need to calculate is the uptime time of this servic.

Downtime is considered if the following condition occurs more than 5 times:

- the sum of the response time of those 3 transactions is higher than 30 seg

Could you please kindly provide us support on this?

Thanks

Maker

## Re: Calculate uptime/downtime per day

formula would be :

100 - (100*({v2}/{v1}))  , where V2 is Very slow calls value and V1 is total calls ( Average response time (counts) or Sum(Calls per minute ) )

Question : the sum of the response time of those 3 transactions is higher than 30 secs.

Answer :  I mentioned earlier that create a business transaction group And create a dashboard and health rule for it.

Select BT group in health rule and dashboard.you can use this formula in dashboard to get Availability %      100 - (100*({v2}/{v1}))

And create health rule for BT group on Sum(Avg Response Time) > 30 secs , select 5 out of 10 mins or whatever you want in health rule.

if you want to discuss more,please call me.

Thanks

+91 9540642389

^ Edited by @Ryan.Paredez Be sure to read the entire thread for more context about the problem and solution.

Builder

## Re: Calculate uptime/downtime per day

Thanks a lot. Just as confirmation, the response time metric displayed for a group... is the sum of all the response times or it is an average? Thanks

Maker

## Re: Calculate uptime/downtime per day

Yes.It will be a sum of all three Avergae response time.

You may also validate it by adding them manually for a given time of interval.

sum Total accumulated value for the metric over the selected time period.

Thanks

Builder

## Re: Calculate uptime/downtime per day

Thanks,

Then we should obtain the same result if we use one of this cases indistinctly (taking into account that the service that is composed by 3 Business Transactions) for creating a rule:

A) metric expression

{value(average response time BT1)}+{value(average response time BT2)}+{value(average response time BT3)}

B) group metrics (including teh 3 BTs on a group)

value(average response time group)