Yes, this worked. Thanks.

On Tuesday, July 11, 2023 at 8:21:08 PM UTC+2 Brian Candler wrote:

> Have you tried "06:00" and "09:00" ?
>
> On Tuesday, 11 July 2023 at 19:05:22 UTC+1 realElonMusk wrote:
>
>> Hi everyone,
>>
>> I'm encountering an issue with the time_intervals configuration in 
>> Prometheus. When running amtool check-config, I receive the following error 
>> message: "couldn't parse timestamp 6:00, invalid format."
>>
>> Here's the relevant snippet of my configuration:
>>
>> time_intervals:
>> - name: maintenance_hours
>>   time_intervals:
>>   - times:
>>     - start_time: "6:00" # UTC
>>       end_time: "9:00" # UTC
>>
>> Could someone please guide me on the correct format for specifying time 
>> intervals in Prometheus?
>>
>> Regards,
>> AB
>>
>

-- 
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/afb7ed10-3e9e-4ecb-96cf-56d44fa77007n%40googlegroups.com.

Reply via email to