I want to calculate p95 latency every 5 minutes over 30 minutes in Datadog monitor and set alert when out of 6 calculated p95, 3 are above threshold - monitor

I want to create a monitor which calculates p95 latency over the last 5 minutes and want to continue calculating for 30 minutes ( six p95 latencies in the last 30 minutes time period )
After that, I want to set alert conditions when 3 out of 6 calculated p95 latencies cross the given threshold.
My question is -
Is it possible with Datadog monitors?
If yes then how can I achieve this?

Related

Google Sheets: Rounding DateTime Cell to Nearest 15 Mintutes

Is there a formula that I could use to round a date time cell up or down (1/10/2022 15:17:02) to the nearest 15 minute interval? I've tried MROUND but since the date time field is in a weird format, I can't quite figure out how to get that to work.
Seems to work for me, example here:
https://docs.google.com/spreadsheets/d/1Hq2pep92vmPQ8kPiThNUod7nsFZopMuOAFNcLCdkJcM/edit?usp=sharing
Using =mround(A2,"00:15") to round, =floor(A2,"00:15") to round down, and =ceiling(A2,"00:15") to round up.
Perhaps you forgot to format the end result back as a Date Time itself?
See more examples here: https://infoinspired.com/google-docs/spreadsheet/round-round-up-round-down-hour-minute-second-in-google-sheets/
you can use round to round down
=round(a1*96)/96
or ceiling to round up
=ceiling(a1*96)/96
with date time fields in Sheets the date is treated like a whole number and the time like a fractional part.
so if you want to round to 15 mins - there are 24 * 4 = 96 lots of 15 minutes in one day. so multiply the date by 96, then round, then divide by 96 should do the trick.

Show difference between 2 time stamps in seconds and 1/10ths of a second

I'm looking for a formula to show the time in seconds and 1/10ths of a second between two time stamped cells (produced using CTRL+SHIFT+:) in a Google sheet. The max time between the cells will be less than 1 hour. To make it easy for people to understand it needs to be in the format 123.4 for 123 seconds and 4 tenths. Could anyone help please
You can just subtract the two times and show the result with a custom format of
[ss].0

highcharts candlestick update every 5, 15 seconds

after some time distance becomes increasingly between candles

Round down to nearest quarter hour

I have a timesheet which I use for billing clients. It records entries from Toggl as hour fractions, ie 35 minutes is recorded as 0.58. I want to round this number down to the nearest 0.25, ie. the nearest quarter hour. Is this possible in Google Sheets?
After a bit more reading, the function I was looking for is MROUND, to round to the nearest given fraction. eg.
=MROUND(A1,0.25)
The crucial step required is to add or substract half a step depending on whether you want it round up or down, eg.
Up: =MROUND(A1+0.125;0.25)
Down: =MROUND(A1-0.125;0.25)
Added screenshots for clarity:
After many tries with ROUND and MROUND I could only get it to work with FLOOR (rounds down) and CEILING (rounds up).
The following example rounds down to the nearest half hour:
=FLOOR(A1, 1/96)
1/24 for an hour, 1/48 for half an hour etc.
The last thing to do is change the Format of the field to time to get a proper time format:
00:00:00

High Stocks. Multi XAxis --- Month wise data not align with big amount of Data Points

I was using these multipliers to display months and it actually works fine if I have less points but once I have a more points its just messed up the whole chart..Here is what happened I have 2 X-Axis 1) to display just dates while the other one which is opposite to that x-axis displays Month with Year. This is their requirement so I cant change.
Days wise I use to every other 3 days using (3*24*3600*1000) interval so it work but when I use (30 * 24 * 3600 * 1000) to display months it creates a mess. So let say I have March data point if I see bottom xaxis it looks fine but the month one is way off
I have tried almost all the possible solutions but nothing works out. Any Quick Help will be highly appreciable

Resources