No worries Evelyn!

In that case, you can split the time interval into the days you want muted
late at night, and then the days you want muted early in the morning. Like
so:

mute_time_intervals:
- name: maintenance_windows
  time_intervals:
  - months: ['january']
    days_of_month: ['7', '18', '28']
    times:
      - start_time: '22:00'
        end_time: '24:00'
  - months: ['january']
    days_of_month: ['8', '19', '29']
    times:
      - start_time: 00:00,
        end_time: '02:00'



On Fri, 20 Aug 2021, 4:19 pm 'Evelyn Pereira Souza' via Prometheus Users, <
[email protected]> wrote:

> On 20.08.21 01:29, Benjamin Ridley wrote:
> > I hope that helps!
>
> Thank you very much. Exactly what I am looking for. Only 1 small problem
> I not know how-to solve:
>
> start_time: '22:00'
> end_time: '02:00' (next day)
>
> have a great day
>
> kind regards
> Evelyn
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Prometheus Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/prometheus-users/H_jrownsgvo/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/e0454a3c-2444-1242-2f77-40d4cc37b9e5%40disroot.org
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CABaapwK-zDhxihgbxNmXnQr_40BxsgGk-gHGUY007bzaf7wtTg%40mail.gmail.com.

Reply via email to