![](/img/trans.png)
[英]Prometheus short term label usage
如果用戶會話導致資源鎖定,我會觸發 Prometheus 警報。 問題是,有時不同的用戶會出現多個鎖,而這些用戶絕不會相同。 如果我添加只存在很短時間的用戶 label,這是否仍會導致高基數,或者這不是問題,因為標簽永遠不會是同一個用戶? 我的數據在 Prometheus 中存儲 2d,在 Than ...
[英]Prometheus short term label usage
如果用戶會話導致資源鎖定,我會觸發 Prometheus 警報。 問題是,有時不同的用戶會出現多個鎖,而這些用戶絕不會相同。 如果我添加只存在很短時間的用戶 label,這是否仍會導致高基數,或者這不是問題,因為標簽永遠不會是同一個用戶? 我的數據在 Prometheus 中存儲 2d,在 Than ...
[英]AWS cross-account s3 bucket for Thanos
是否可以配置 thanos sidecar 以將日志攝取到另一個 aws 帳戶中的 s3 存儲桶? 用例是將監控/可觀察性集中到單個 aws 帳戶。 我正在嘗試,但在 Thanos 存儲桶和 Thanos sidecar 容器中出現“拒絕訪問”錯誤。 我在 EKS 上使用 prometheus 運算 ...
[英]Prometheus remote read write URL 404 not found
我在 Kubernetes 中配置了 OpenTelemetry。 我想使用 Prometheus 監控 OpenTelemetry 指標。 為此,我安裝了 Thanos,以便 Prometheus Remote Write Exporter 將 OpenTelemtry 指標發送到 Thanos。 ...
[英]What does duration [] mean when used in Prometheus UI Graph
在 Prometheus 中,當以下查詢意味着獲取在 5m 周期內觀察到的所有樣本,然后使用這些樣本和持續時間執行速率計算。 當我在 Prometheus UI 的表模式下運行它時,我一次到達 select,然后根據我的持續時間和我選擇的時間戳確定間隔。 這是有道理的。 但是當我切換到圖表選項卡時會 ...
[英]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 指標都正 ...
[英]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 Storage Configuration (S3)- facing issue at thanos-store
我第一次開始使用 S3 for prometheus 實現thanos store,並且在執行thanos-store 配置時收到此錯誤消息。 有人可以幫我調試錯誤嗎? 消息:level=info ts=2022-02-28T16:37:31.940118532Z caller=factory.g ...
[英]Thanos-Query/Query-Frontend does not show any metrics
基本上,我使用提供的 helm chart repo prometheus-community從kube-prometheus-stack安裝了 Prometheues-Grafana 他們工作正常。 但我現在面臨的問題是將Thanos與現有的kube-prometheus-stack集成。 我從b ...
[英]Find exact CPU percentage from the metrics exported by prometheus-node-exporter
我為此使用node_cpu_seconds_total指標。 基本上,我想從總 CPU 使用率中減去mode="idle" ,然后取結果的平均速率,然后計算百分比。 我試過類似的東西: 但似乎不合適,還顯示解析錯誤: ...
[英]Prometheus/Thanos -> Can we add store specific TLS in Thanos querier stores? Essentially having http and https in the same store array
問題: 我添加了兩個商店端點。 一個是 http,另一個是 https。 對於 https,我添加了 grpc tls 配置,我能夠在 thanos 中驗證和查看商店,但對於 http。 它無法連接。 ...
[英]Thanos Querier Deduplication Issue with Prometheus
我們是 Prometheus Monitoring 的新手,正面臨一個問題。 在我們的 Kubernetes 集群上,為了監控我們的 MongoDB 應用程序,我們使用以下設置: MongoDB 導出器(使用 prometheus-community prometheus-mongodb-expo ...
[英]Is there a metrics endpoint for thanos querier which shows all the metrics from the stores and not just thanos itself?
我嘗試在 thanos 查詢器 url 上使用“/metrics”,但我只看到了 thanos 指標。 有沒有辦法使用端點查看商店指標? ...
[英]Missing data in Thanos at specific resolution
問題問題:當在低於某個閾值的分辨率下查詢 Thanos 的圖形時,當 Prometheus 不返回時,Thanos 將返回缺少數據點的數據(見后面的截圖)。 設置:kubernetes 集群。 Thanos 的查詢器被配置為查詢單個 Prometheus 的邊車(我這樣做是為了測試,以確保這里沒有 ...
[英]Grafana filtering Thanos store labels| Grafana Promtheus Thanos
我想知道是否有任何方法可以通過Thanos+prometheus+Grafana集群中的 Thanos 商店進行過濾。 我正在嘗試從 Grafana 儀表板查詢以從一家商店(我們有 3 家)獲取結果。 任何幫助表示贊賞,在此先感謝您 ...
[英]Failing to start bash script as a service | Thanos - Prometheus
我覺得我嘗試了一切,但仍然失敗。 我正在嘗試制作一組滅霸、普羅米修斯和格拉法納。 我寫了一個腳本,它在終端中就像一個魅力,但無法作為服務啟動systemd 。 我的環境是: Ubuntu 20.04.2 Docker 20.10.5 我的文件依賴項是這樣的: 這是我的腳本內容: 這是我的system ...
[英]what if we don't explain any external_labels in Prometheus for Thanos
我想知道如果我們不在 Thanos 的 Prometheus 配置文件中解釋任何external_labels ,會發生什么? 例如,我有 2 個 Prometheuse,它們正在抓取相同的端點,因此它們的 external_labels 是這樣的:prometheus1: 普羅米修斯2: ...
[英]Thanos S3 Config
我正在努力了解將 S3 存儲桶用於thanos。 從配置中可以看出,我們必須為 S3 存儲桶提供訪問和秘密密鑰,但它們是在清晰可見的情況下編寫的,因為代碼存儲在 git 中,因此任何人都可以訪問存儲桶。 有沒有把它們作為 kubernetes 的秘密提供? 我正在嘗試在 EKS 上運行 prom ...
[英]Thanos Querier can only query data 2 hours ago
我按照這個博客https://rancher.com/blog/2020/prometheus-metric-federation在我們的 kube.netes 中設置 thanos。 我們進行了這樣的設置,其中集群 A 僅包含 - Thanos Receiver、Thanos Store 和 Th ...
[英]Thanos Store Error bucket store initial sync: sync block: iter: The specified key does not exist."
我是 Thanos 和 Prometheus 的新手。 我試圖在我們的 K8 中設置 Thanos 組件。 它是使用 S3 作為存儲 object 全新設置的。 使用的圖像版本: 普羅米修斯版本:v2.4.3 滅霸版本:v0.8.0 Thanos sidecar 正在使用 s3 存儲的配置。 但 ...
[英]Is there a way in promql to get all the available label names using thanos api?
我有一個 promql,它從服務器向我提供了整個度量結果,但我有興趣過濾和獲取特定值的結果,但我不確定該值的 label 名稱是什么,如果可以的話查看所有可用的名稱,我至少可以通過反復試驗找到它,但是如果沒有 label 名稱,我將無能為力。 ...