[prev in list] [next in list] [prev in thread] [next in thread]
List: perl-datetime
Subject: Re: SLA calculation w/DateTime::Set
From: "Flavio S. Glock" <fglock () gmail ! com>
Date: 2005-08-15 21:28:16
Message-ID: aa47605d050815142859c62b03 () mail ! gmail ! com
[Download RAW message or body]
Kaare:
1) make a description of the start and end times, possibly using
DateTime::Event::Recurrence. Exclude the holidays from the sets.
2) create a SpanSet from the start and end recurrences.
3) create a description of the downtime, using Span (or SpanSet).
The total downtime is downtime_span->duration.
The business time is downtime_span->intersection( business_hours )->duration
- Flavio S. Glock
2005/8/15, Kaare Rasmussen <kar@kakidata.dk>:
> Hi
>
> I wonder if it is possible to use DT::Set for SLA calculations, and how much
> work it would take to get this done.
>
> SLA (Service Level Agreements) usually builds on some business hours where
> you are responsible for the downtime of the system. Business hours could
> look like this:
>
> Mon-Thurs: 7:30-18:00
> Fri: 7:30-16:00 and 18:00-22:00
>
> Every first friday of the month: Service window from 12:00-16:00
>
> Holidays are to be excluded.
>
> If this could be declared infinite it would be nice, but not necessary.
>
> I would like to know how much time it took for an event to occur totally,
> and in business hours.
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic