<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                [TOC] ## 安裝 ### docker <details> <summary>~/docker/prometheus/prometheus.yml</summary> ``` # 全局設置 global: scrape_interval: 15s # 設置抓取時間間隔為每15秒一次。默認為每1分鐘一次。 evaluation_interval: 15s # 表示每15檢測一次告警規則。 默認值為每1分鐘。 # scrape_timeout is set to the global default (10s). # 監控管理配置 alerting: alertmanagers: - scheme: http static_configs: - targets: # - "yourip:9093" # 加載規則 # Load rules once and periodically evaluate them according to the global 'evaluation_interval'. rule_files: # - "first_rules.yml" # - "second_rules.yml" # - "rules/*.yml" # 這里定義了 Prometheus 要抓取的目標 scrape_configs: # Prometheus 在啟動的時候也會通過 HTTP 接口暴露自身的指標數據,這就相當于 Prometheus 自己監控自己 - job_name: 'prometheus' # 通過 http://localhost:9090/metrics 查看普羅米修斯暴露哪些指標 static_configs: - targets: ['localhost:9090'] ``` </details> <br/> 啟動 ``` > sudo docker run -d -p 9090:9090 \ -v ~/docker/prometheus/:/etc/prometheus/ \ prom/prometheus ``` ## 熱加載 如果使用非 docker , 可以通過信號觸發重新加載 ``` killall -HUP prometheus ``` ## 參數 ``` --storage.tsdb.path //指定 Prometheus 在何處寫入數據庫(數據庫保存位置)。默認為data/ --storage.tsdb.retention.time //指定何時刪除舊數據(舊數據保存時間)。默認為15d。 //如果此標志位設置為默認值之外的其它值,則覆蓋storage.tsdb.retention ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看