prometheus 監控elasticsearch elasticsearch 筆試題


1.安裝: 如果有elk單獨用戶,切換到該用戶下, wget下載,進入到es安裝目錄,執行 ./elasticsearch-plugin install file://$(pwd)/../../elasticsearch-prometheus-exporter-6.4.2.0.zip 即可完成安裝

2.prometheus的配置

  - job_name: 'elasticsearch'
    scrape_interval: 6s
    metrics_path: "/_prometheus/metrics"
    static_configs:
    - targets: ['192.168.1.44:9200']

3.elastic search6.4.2合適的dashboard id 266

4.參考:https://www.cnblogs.com/lizhaojun-ops/p/10676362.html    https://github.com/vvanholl/elasticsearch-prometheus-exporter

 

----------------------------------------------------------------

https://blog.csdn.net/w372426096/article/details/90697088

【成神之路】es搜索相關面試題


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM