[英]Using variables in PrometheusRule expr field instead of contant values
我正在嘗試使用promql表達式在我的集群中創建一個帶有一些警報規則的“PrometheusRule”。 但是,我希望這些資源可用於同一集群內的不同服務並可對其進行配置。 我想要做的就是在我的“expr”字段中包含變量值,如下所示: 代替: 這是我要制作的PromethuesRule : PS:我 ...
[英]Using variables in PrometheusRule expr field instead of contant values
我正在嘗試使用promql表達式在我的集群中創建一個帶有一些警報規則的“PrometheusRule”。 但是,我希望這些資源可用於同一集群內的不同服務並可對其進行配置。 我想要做的就是在我的“expr”字段中包含變量值,如下所示: 代替: 這是我要制作的PromethuesRule : PS:我 ...
[英]Problems with Prometheus Alertmanager sending Slack notifications
我通過kube-prometheus-stack Helm chart 在我的 K8s 集群上部署了 Prometheus(等)。 我正在嘗試讓 Prometheus Alertmanager 向 Slack 發送通知。 這是我的圖表alertmanager中的警報管理器塊: 據我所知,這個 YAM ...
[英]Replace a character in a Prometheus label's value
我有一個由 Prometheus 爬網的 label 包含主機名,但使用破折號而不是點作為分隔符。 例如domain=www-example-com 。 我正在嘗試用包含點分隔值的 label 替換它,例如將其轉換為domain=www.example.com但找不到方法。 換句話說,字符替換('- ...
[英]grafana dashboard is not working with nginx ingress controller
我已經在我的 eks 集群上部署了 kube-prometheus-stack。 Nginx 入口 controller 配置有 NLB。 我在 NLB 終止 SSL。 我正在嘗試使用 nginx 入口在子域上公開 grafana。 當我打開子域 nginx 入口時顯示504 error res ...
[英]kube-prometheus-stack / drop namespace
我試圖刪除一個命名空間,阻止普羅米修斯從中抓取任何東西。 我已經嘗試了很多從 inte.net 和普羅米修斯文檔中獲得的方法。 似乎沒有一個工作。 我試圖設置“prometheus.serviceMonitor.relabelings”, - source_labels: [__meta_kube. ...
[英]deleted kube-prometheus-stack alertmanager CRD and can not install alertmanager
我是新來這里掌舵的。 所以我使用 helm kube-prometheus-stack 版本 36.x,並看到最新版本具有用於 alertmanager 的本機電報配置,而不是使用另一個客戶端電報 webhook。 我所做的是更新值文件中的警報管理器值配置。 然后我運行從 35.x 遷移到 36. ...
[英]Issue with Adding the additional scrapeconfigs in kube-prometheus-stack
我已經通過 helm chart 安裝了 kube-prometheus-stack。 需要為 prometheus 添加額外的抓取配置。 創建了一個 configmap 以從 grok-exporter 中抓取指標 應用了這個配置圖。 然后使用以下命令從此配置映射創建秘密 創建秘密。 然后在 ku ...
[英]Getting KubeControllerManager, KubeProxy, KubeScheduler down alert in Kube Prometheus Stack installed in GKE
我剛剛在我的 GKE 集群中使用默認設置安裝了最新的 kube prometheus 堆棧 (kube-prometheus-stack-37.2.0)。 我開始收到三個警報(正在關閉 KubeControllerManager、KubeProxy、KubeScheduler)。 通過做一些研究,我 ...
[英]kube-prometheus-stack / prometheus targets status down (only prometheus server instance is up)
在問題發生之前,我按照這個圖表( https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus )安裝了沒有 prometheus-operator 的 prometheus,並且 kube 指標都正 ...
[英]How to overwrite alertmanager configuration in kube-prometheus-stack helm chart
我正在從kube-prometheus-stack helm 圖表部署一個監控堆棧,並且我正在嘗試配置 alertmanager 以便它具有我的自定義配置,用於在 Slack 通道中發出警報。 pod 中的配置從/etc/alertmanager/config/alertmanager.yaml加 ...
[英]how to increase kube-prometheus-stack startupProbe?
嗨,我正在查看 helm chart kube-prometheus-stack的 values.yaml 文件,但找不到startupProbe的鍵/值。 我遇到了一個問題,即加載 prometheus pod 需要的時間比默認值 15 分鍾更多,我正在嘗試增加它,並且嘗試編輯statefuls ...
[英]Thanos: unmarshal errors:\n line 2: field encryptsse not found in type s3.Config
當我使用thanos.io v0.25.2和thanos-storage-config.yaml掌舵安裝最新版本的prometheus-community/kube-prometheus-stack時,我遇到了同樣的錯誤,如下所示: 然后,thanos-sidecar、thanos-compac ...
[英]Thanos-Query/Query-Frontend does not show any metrics
基本上,我使用提供的 helm chart repo prometheus-community從kube-prometheus-stack安裝了 Prometheues-Grafana 他們工作正常。 但我現在面臨的問題是將Thanos與現有的kube-prometheus-stack集成。 我從b ...
[英]Change in Grafana helm chart to install as kind Statefulset instead of Deployment
我已經從 helm chart repo prometheus-community安裝了kube-prometheus-stack 如您所見,默認情況下,grafana 安裝為Deployment ,但我想通過在其 helm 圖表中更改它來將類型更改為Statefulset ,而不是直接在集群上進 ...
[英]Prometheus Operator not scraping colocated etcd metrics
我有一個 K8s 集群,它使用 Kubespray 部署在本地服務器上的托管 etcd。 我沒有看到 Prometheus 操作員抓取 etcd 指標。 使用 helm v3.5.4部署的 Prometheus 操作員。 K8s 1.22版,Helm chart prometheus-commun ...
[英]Securing grafana ingress with tls in kube-prometheus-stack values.yaml and make grafana available via https
我正在使用 kube-prometheus-stack 在 gcp 中監控我的系統。 由於新要求,我所有的入口都需要使用 tls 進行保護。 作為第一步,我想通過 https 提供 grafana 網頁。 我創建了一個 tls secret 並更新了我的 values.yaml。 在 helm up ...
[英]issue with prometheus-community installation via helm
我嘗試安裝 prometheus-community/kube-prometheus-stack 使用以下命令helm install stable prometheus-community/kube-prometheus-stack -n monitoring --debug 但它因問題而失敗: ...
[英]alertmanagerconfig matches about namespace not work
我的警報管理器配置: web 顯示:命名空間成為監控? 為什么? 並且只有在監控中的警報才能發出我可以發送其他命名空間或所有命名空間警報嗎? ...
[英]Prometheus kubelet metrics with pod labels
我想弄清楚,如何使用 prometheus-stack 將 pod 標簽從 kubelet 指標中獲取到指標標簽中。 在我們的環境中,我們需要 hash pod 名稱(由於長度限制),因此我們的應用程序名稱、環境和單元名稱保存在 pod 標簽中。 我們使用 prometheus-stack(helm ...
[英]Installing a custom grafana datasource through helm / terraform
我想將 alertmanager 數據源( https://grafana.com/grafana/plugins/camptocamp-prometheus-alertmanager-datasource/ )安裝到我的kube-prometheus-stack安裝中,該安裝正在使用 terraf ...