Hello! all. I set up a website monitoring project using Prometheus,
Blackbox Exporter, and Alertmanager to monitor and send notifications. I
have configured it to send alerts via Line Notify using a webhook receiver.
However, i currently facing an issue with setting the timezone to my
country's timezone. this is my config
global:
resolve_timeout: 1m
route:
group_by: ['alertname']
group_wait: 30s
group_interval: 10s
repeat_interval: 10s
receiver: 'email and line-notify'
receivers:
- name: 'email and line-notify'
email_configs:
- to: '...
webhook_configs:
- ...
time_intervals:
- name: everyday
time_intervals:
- times:
- start_time: "00:00"
end_time: "23:59"
location: 'Asia/Bangkok'
inhibit_rules:
- source_match:
severity: 'critical'
target_match:
severity: 'warning'
equal: ['alertname', 'instance']
Could someone please guide me on the correct format for specifying time
intervals in Prometheus?
Regards.
Tareerat
--
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/be5b9c59-9023-437f-892c-030b5805a230n%40googlegroups.com.