<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          ChainEye聯(lián)盟鏈監(jiān)控平臺

          聯(lián)合創(chuàng)作 · 2023-09-18 15:03

          chaineye是一款開源的聯(lián)盟鏈監(jiān)控平臺,目前已經(jīng)支持百度 XuperChain,提供企業(yè)級的功能特性,開箱即用的產(chǎn)品體驗(yàn)。

          • 內(nèi)置豐富的Dashboard、好用實(shí)用的告警管理、自定義視圖、故障自愈;
          • Dashboard和告警策略支持一鍵導(dǎo)入,詳細(xì)的指標(biāo)分類和解釋;
          • 支持多 Prometheus 數(shù)據(jù)源管理,以一個(gè)集中的視圖來管理所有的告警和dashboard;
          • 支持 Prometheus、M3DB、VictoriaMetrics、Influxdb、TDEngine 等多種時(shí)序庫作為存儲方案;
          • 原生支持 PromQL;
          • 支持 Exporter 作為數(shù)據(jù)采集方案;
          • 支持 Telegraf 作為監(jiān)控?cái)?shù)據(jù)采集方案;
          • 支持對接 Grafana 作為補(bǔ)充可視化方案;

          預(yù)覽

          快速安裝

          • 前置:需要安裝Prometheus或者其他工具作為數(shù)據(jù)源。已有正在運(yùn)行的XuperChain網(wǎng)絡(luò)。

          • 克隆項(xiàng)目到本地 項(xiàng)目地址 https://github.com/shengjian-tech/chaineye

          • 編譯項(xiàng)目,進(jìn)入src目錄, go mod tidy下載依賴, go build -o xxx編譯完成。

          • 修改 ./etc/server.conf  ./etc/webapi.conf 配置文件。

          • server.conf 配置中主要配置日志等級,輸出路徑; 服務(wù)端口;Redis連接,數(shù)據(jù)庫連接;[Reader]  [Writers] 設(shè)置為Prometheus服務(wù)連接,或者其他數(shù)據(jù)源連接地址。

          • webapi.conf 配置中主要配置日志等級,輸出路徑; 服務(wù)端口;JWTAuth;Redis 連接, 數(shù)據(jù)庫連接, [[Clusters]] 即Prometheus等數(shù)據(jù)源連接地址,以及最后監(jiān)控 XuperChain 的配置,包括超級鏈節(jié)點(diǎn)地址,超級鏈SDK配置文件路徑。

          • 修改完配置文件后,在根目錄執(zhí)行命令即可啟動server  webapi 服務(wù)。命令 ./src/xxx server -> server.out &  ./src/xxx webapi -> webapi.out &, 隨后可以通過查看日志輸出,判斷服務(wù)是否正常啟動。

          • 最后,下載chaineye對應(yīng)前端項(xiàng)目front-chaineye。倉庫路徑 https://github.com/shengjian-tech/front_chaineye

          • 克隆前端項(xiàng)目后,運(yùn)行 npm install  npm run build。

          • 配置 ngnix。配置入下所示。

          • 訪問http://127.0.0.1:port/front_chaineye/login 頁面。賬號:root 密碼:root.2020

          • 導(dǎo)入XuperChain監(jiān)控大盤,XuperChain大盤文件路徑 https://github.com/xuperchain/xbench/blob/master/conf/metric/grafana-xchain.json 下載后,在監(jiān)控大盤中,導(dǎo)入即可。

          超級鏈監(jiān)控大盤預(yù)覽

          Nginx Server 配置

           location ~ ^/front_chaineye/ {
                      root html;
                      index  index.html index.htm;
                      try_files $uri $uri/ /front_chaineye/index.html;
                  }        
          
          	location ~ ^/chaineye/ {
          	    proxy_set_header       Host              $host;
                 proxy_set_header       X-Real-IP         $remote_addr;
                 proxy_set_header       X-Forwarded-For   $proxy_add_x_forwarded_for;
          	    proxy_pass http://127.0.0.1:18000;
              }
           

          鳴謝

          夜鶯nightingale
          XuperChain

          瀏覽 27
          點(diǎn)贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          評論
          圖片
          表情
          推薦
          點(diǎn)贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  国产麻传媒一区二区三区网站入口 | 欧美在线视频99 | 18禁 成人黄网站免费视频 | 国产一级一级毛片在线 | 先锋资源日韩 |