ccfos / nightingale

An all-in-one observability solution which aims to combine the advantages of Prometheus and Grafana. It manages alert rules and visualizes metrics, logs, traces in a beautiful web UI.
https://flashcat.cloud/docs/
Apache License 2.0
9.55k stars 1.39k forks source link

添加告警規則後備關聯數據源支持 #2064

Closed chenyunda218 closed 1 month ago

chenyunda218 commented 1 month ago

What would you like to be added: 添加告警規則後備關聯數據源支持

Why is this needed:為了高可用,我們公司有兩個機房,兩個固定IP,兩個機房各有一個victoriametrics,在數據采集階段就將數據推到兩個victoriametrics。告警規則中加入多個數據源,缺點是警告會出兩份。因此希望加入後備數據源。在第主數據源失效時去請求後備數據源。

UlricQin commented 1 month ago

可以使用promxy作为数据源的proxy,把proxy作为数据源配置到夜莺里,而非直接把两个数据源都配置到夜莺里

秦晓辉 @.***

快猫星云 联合创始人 18612185520

------------------ 原始邮件 ------------------ 发件人: Dan218 @.> 发送时间: 2024年7月29日 20:42 收件人: ccfos/nightingale @.> 抄送: Subscribed @.***> 主题: Re: [ccfos/nightingale] 添加告警規則後備關聯數據源支持 (Issue #2064)

What would you like to be added: 添加告警規則後備關聯數據源支持

Why is this needed:為了高可用,我們公司有兩個機房,兩個固定IP,兩個機房各有一個victoriametrics,在數據采集階段就將數據推到兩個victoriametrics。告警規則中加入多個數據源,缺點是警告會出兩份。因此希望加入後備數據源。在第主數據源失效時去請求後備數據源。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

chenyunda218 commented 1 month ago

感謝解惑