[prometheus-users] How to get rid of duplicate metrics ?

2022-09-12 Thread zhengwei y
I used VictoriaMetrics V1.69.0 to collect the Kubernetes indicator. When I looked up the metrics, I found two very similar metrics, except that label_topology_ebs_csi_aws_com_zone label was not the same. Why? How do you get rid of one of them when you collect metrics?

Re: [prometheus-users] Time of day alert

2020-12-16 Thread zhengwei y
It's looks good, but I want to be able to manage Settings directly on alertManager instead of changing my alert rules 在2020年11月21日星期六 UTC+8 下午9:52:05 写道: > A simple way is to use the hour() PromQL function, e.g. something like: > > up == 1 unless on() hour() < 9 or hour() > 17 > > To alert

Re: [prometheus-users] Time of day alert

2020-12-16 Thread zhengwei y
我希望可以直接在alertmanager上进行设置管理,而不是修改我的告警规则 在2020年12月16日星期三 UTC+8 下午6:09:33 写道: > It looks like a good idea.But I'm using alertManager to receive all the > alerts, including calling the alertManager API directly to create the > alerts, and I can't forbid the client not to call for a certain

Re: [prometheus-users] Time of day alert

2020-12-16 Thread zhengwei y
It looks like a good idea.But I'm using alertManager to receive all the alerts, including calling the alertManager API directly to create the alerts, and I can't forbid the client not to call for a certain period of time, so I want to set it on alertManager to be silent 在2020年11月24日星期二 UTC+8

Re: [prometheus-users] How do I set the maintenance cycle

2020-12-14 Thread zhengwei y
Does this mean That I have to maintain a timer task to create and delete the corresponding silence rules every day ? 在2020年12月14日星期一 UTC+8 下午6:29:38 写道: > On 2020-12-14 10:25, zhengwei y wrote: > > How do I set the maintenance cycle ? such as silence all alarms from > > 0:00 t

[prometheus-users] How do I set the maintenance cycle

2020-12-14 Thread zhengwei y
How do I set the maintenance cycle ? such as silence all alarms from 0:00 to 1:00 am every day? -- 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