prometheus

    1熱度

    1回答

    我將把Prometheus io與我的Python Django應用程序集成以跟蹤不同API的性能指標。我是普羅米修斯的新手。我瀏覽了關於Prometheus和最近的Python客戶端的文檔。我在本地設置了它,但無法弄清楚如何從我的應用程序中推送指標。所以如果有人有任何建議,我會很感激。

    2熱度

    2回答

    目前我通過Prometheus.io監測碼頭集裝箱。我的問題是,我只是得到「cpu_user_seconds_total」或「c​​pu_system_seconds_total」。我的問題是如何將這個不斷增加的值轉換爲CPU百分比? 我目前查詢: rate(container_cpu_user_seconds_total[30s]) 但我不認爲這是完全正確的(比較頂部)。 如何將cpu_us

    0熱度

    1回答

    我配置alermanager.conf: notification_config { name: "alert_test" email_config { email: "[email protected]" } } aggregation_rule { repeat_rate_seconds: 3600 notification_c

    1熱度

    2回答

    我使用的是NewGaugeVec彙報我的指標: elapsed := prometheus.NewGaugeVec(prometheus.GaugeOpts{ Name: "gogrinder_elapsed_ms", Help: "Current time elapsed of gogrinder teststep", }, []string{"teststep", "us

    1熱度

    1回答

    我正在使用prometheus來繪製我的服務器上的統計數據。問題是那個annybody可以從http://my.Ip.Adress:port/index.html訪問圖表。我如何密碼保護這種訪問?或者:可以使用密碼保護端口?

    0熱度

    1回答

    射擊我有這個簡單的普羅米修斯警報配置 ALERT MyServiceDown IF my_custom_metric == 0 FOR 15s 情況如下: 在正確運行my_custom_metric爲1,MyServiceDown警報是綠色的在Alert選項卡上。 然後我設置my_custom_metric 0,Propetheus將其檢索爲0,我可以在Graph - >

    0熱度

    1回答

    我有一個普羅米修斯保留數據的問題。我向Prometheus輸出度量標準的出口商,我使用prom dash來表示數據。但是當我重新啓動普羅米修斯時,我失去了我的指標的所有數據。 而我的另一個問題是,我已配置prometheus有觸發警報,我使用alertmanager發送通知。我已配置alertmanager向我的電子郵件和Flowdock發送警報通知。但我在flowdock上接收它們,但不在我的郵