cost 76 ms
Prometheus短期label用法

[英]Prometheus short term label usage

如果用戶會話導致資源鎖定,我會觸發 Prometheus 警報。 問題是,有時不同的用戶會出現多個鎖,而這些用戶絕不會相同。 如果我添加只存在很短時間的用戶 label,這是否仍會導致高基數,或者這不是問題,因為標簽永遠不會是同一個用戶? 我的數據在 Prometheus 中存儲 2d,在 Than ...

適用於 Thanos 的 AWS 跨賬戶 s3 存儲桶

[英]AWS cross-account s3 bucket for Thanos

是否可以配置 thanos sidecar 以將日志攝取到另一個 aws 帳戶中的 s3 存儲桶? 用例是將監控/可觀察性集中到單個 aws 帳戶。 我正在嘗試,但在 Thanos 存儲桶和 Thanos sidecar 容器中出現“拒絕訪問”錯誤。 我在 EKS 上使用 prometheus 運算 ...

Prometheus遠程讀寫URL 404 not found

[英]Prometheus remote read write URL 404 not found

我在 Kubernetes 中配置了 OpenTelemetry。 我想使用 Prometheus 監控 OpenTelemetry 指標。 為此,我安裝了 Thanos,以便 Prometheus Remote Write Exporter 將 OpenTelemtry 指標發送到 Thanos。 ...

duration [] 在 Prometheus UI Graph 中使用時是什么意思

[英]What does duration [] mean when used in Prometheus UI Graph

在 Prometheus 中,當以下查詢意味着獲取在 5m 周期內觀察到的所有樣本,然后使用這些樣本和持續時間執行速率計算。 當我在 Prometheus UI 的表模式下運行它時,我一次到達 select,然后根據我的持續時間和我選擇的時間戳確定間隔。 這是有道理的。 但是當我切換到圖表選項卡時會 ...

kube-prometheus-stack / prometheus 目標狀態關閉(只有 prometheus 服務器實例已啟動)

[英]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 指標都正 ...

從 prometheus-node-exporter 導出的指標中找到准確的 CPU 百分比

[英]Find exact CPU percentage from the metrics exported by prometheus-node-exporter

我為此使用node_cpu_seconds_total指標。 基本上,我想從總 CPU 使用率中減去mode="idle" ,然后取結果的平均速率,然后計算百分比。 我試過類似的東西: 但似乎不合適,還顯示解析錯誤: ...

Prometheus/Thanos -> 我們可以在 Thanos 查詢器商店中添加商店特定的 TLS 嗎? 本質上在同一個存儲陣列中具有 http 和 https

[英]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 中缺少數據

[英]Missing data in Thanos at specific resolution

問題問題:當在低於某個閾值的分辨率下查詢 Thanos 的圖形時,當 Prometheus 不返回時,Thanos 將返回缺少數據點的數據(見后面的截圖)。 設置:kubernetes 集群。 Thanos 的查詢器被配置為查詢單個 Prometheus 的邊車(我這樣做是為了測試,以確保這里沒有 ...

啟動 bash 腳本作為服務失敗 | 滅霸——普羅米修斯

[英]Failing to start bash script as a service | Thanos - Prometheus

我覺得我嘗試了一切,但仍然失敗。 我正在嘗試制作一組滅霸、普羅米修斯和格拉法納。 我寫了一個腳本,它在終端中就像一個魅力,但無法作為服務啟動systemd 。 我的環境是: Ubuntu 20.04.2 Docker 20.10.5 我的文件依賴項是這樣的: 這是我的腳本內容: 這是我的system ...

滅霸 S3 配置

[英]Thanos S3 Config

我正在努力了解將 S3 存儲桶用於thanos。 從配置中可以看出,我們必須為 S3 存儲桶提供訪問和秘密密鑰,但它們是在清晰可見的情況下編寫的,因為代碼存儲在 git 中,因此任何人都可以訪問存儲桶。 有沒有把它們作為 kubernetes 的秘密提供? 我正在嘗試在 EKS 上運行 prom ...

Thanos Querier 只能查詢2小時前的數據

[英]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 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 存儲的配置。 但 ...

2020-09-01 11:33:05   1   2581    thanos  
promql 中是否有辦法使用thanos api 獲取所有可用的label 名稱?

[英]Is there a way in promql to get all the available label names using thanos api?

我有一個 promql,它從服務器向我提供了整個度量結果,但我有興趣過濾和獲取特定值的結果,但我不確定該值的 label 名稱是什么,如果可以的話查看所有可用的名稱,我至少可以通過反復試驗找到它,但是如果沒有 label 名稱,我將無能為力。 ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM