Prometheus 監控arangodb
因為業務需求,所以找了不少資料,有幾個網址是我參考的主要,按照順序來,就可以
注意,大前提:arangodb的版本要從3.6開始。
1.搭建arangodb叢集
參考這個作者的,已經寫的很詳細的了。分為兩種,一種是需要金鑰的,一種是不需要,公司裡一般都是需要的。
https://blog.csdn.net/qq_27668313/article/details/88289749
https://blog.csdn.net/qq_27668313/article/details/88998956
2.搭建prometheus 以及grafana.
參考B站,https://www.bilibili.com/video/BV16J411z7SQ?from=search&seid=3666612159787316553
老師講的很詳細,除了最後搭建grafana的時候,提前匯入了那麼多模板,我不知道是幹什麼的。
3.讓prometheus能夠訪問到arangodb,
參考:https://www.arangodb.com/2020/03/monitoring-arangodb-prometheus-grafana/
這個文章的意思翻譯一下,就是:
執行 這條命令 arangodb auth header --auth.jwt-secret /path/to/secret
“ /path/to/secret” 指的是你存放金鑰的地方,是一個具體的檔案,不是資料夾。
然後它會像這樣。
把紅色的字串,存放在監控所在機器上面,我的是放在了 /etc/prometheus/prometheus.token 裡面,
然後在Prometheus 的配置檔案裡面,指定檔案所在位置。
上面是我Prometheus的配置,配置完成一後,在Prometheus裡面檢視,9個都是綠色的。
點選過去,還能訪問:
然後再grafana裡面匯入一個模板,模板的地址是這個:https://github.com/jiaqiaodan/dashboards (原本的作者的地址忘記了,懶得找了,型號fork了一下)
。選擇arangodb-overview.json 就行。
最終顯示的就像這樣。
相關文章
- Docker監控PrometheusDockerPrometheus
- 05 . Prometheus監控NginxPrometheusNginx
- prometheus 監控學習Prometheus
- prometheus監控+alertmanager告警Prometheus
- Prometheus MySQL監控+grafana展示PrometheusMySqlGrafana
- SpringBoot使用prometheus監控Spring BootPrometheus
- Prometheus監控實戰應用Prometheus
- 使用Prometheus搞定微服務監控Prometheus微服務
- 開源監控利器Prometheus初探Prometheus
- Prometheus監控報警系統Prometheus
- Prometheus Operator自定義監控項Prometheus
- docker部署監控Prometheus+GrafanaDockerPrometheusGrafana
- 09 . Prometheus監控tomcat+jvmPrometheusTomcatJVM
- 使用Prometheus、Grafana監控Artifactory實踐PrometheusGrafana
- Grafana、Prometheus、mtail-日誌監控GrafanaPrometheusAI
- Grafana+Prometheus 監控 MySql服務GrafanaPrometheusMySql
- prometheus監控golang服務實踐PrometheusGolang
- prometheus-監控docker伺服器PrometheusDocker伺服器
- SpringCloud使用Prometheus監控(基於Eureka)SpringGCCloudPrometheus
- 開源監控系統Prometheus介紹Prometheus
- prometheus+grafana監控mysql最佳實踐PrometheusGrafanaMySql
- 效能監控工具之Grafana+Prometheus+ExportersGrafanaPrometheusExport
- Prometheus監控系統入門與部署Prometheus
- prometheus之docker監控與告警系列(一)PrometheusDocker
- prometheus之docker監控與告警系列(二)PrometheusDocker
- prometheus之docker監控與告警系列(三)PrometheusDocker
- prometheus監控k8s叢集PrometheusK8S
- 使用 Prometheus 監控 SAP ABAP 應用程式Prometheus
- asp.net core監控—引入Prometheus(三)ASP.NETPrometheus
- 手把手教你使用 Prometheus 監控 JVMPrometheusJVM
- 基於Prometheus的資料庫監控Prometheus資料庫
- Prometheus監控系統程序---process-exporterPrometheusExport
- Kubernetes監控實踐(2):可行監控方案之Prometheus和SensuPrometheus
- 開源監控系統Prometheus的前世今生Prometheus
- 配置 Prometheus 伺服器監控和 Grafana 看板Prometheus伺服器Grafana
- Prometheus Operator(二) 監控k8s元件PrometheusK8S元件
- 基於 prometheus 的微服務指標監控Prometheus微服務指標
- 基於 Prometheus 的監控系統實踐Prometheus