原文:prometheus學習系列十一: Prometheus pushgateway的使用

由於網絡問題或者安全問題,可能我們的數據無法直接暴露出一個entrypoint 給prometheus采集。 這個時候可能就需要一個pushgateway來作為中間者完成中轉工作。 prometheus還是采用pull方式來采集pushgateway的數據,我們的采集端通過push方式把數據push給pushgateway,來完成數據的上報。 pushgateway的安裝 pushgateway的 ...

2019-10-11 17:26 0 1315 推薦指數:

查看詳情

Prometheus學習筆記(4)什么是pushgateway???

[toc] 一、pushgateway介紹 pushgateway是另一種數據采集的方式,采用被動推送來獲取監控數據的prometheus插件,它可以單獨運行在任何節點上,並不一定要運行在被監控的客戶端。而后通過用戶自定義編寫的腳本把需要監控的數據發送給pushgateway ...

Thu Dec 12 00:56:00 CST 2019 0 654
prometheus學習系列十一Prometheus 安全

prometheus安全 我們這里說的安全主要是基本認證和https2種, 目前這2種安全在prometheus中都沒有的, 需要借助第三方軟件實現, 這里以nginx為例。 基本認證 配置基本認證 在前面的部署中,我們部署完畢prometheus server 后, 可以通過對應 ...

Sat Oct 12 17:58:00 CST 2019 0 983
prometheus學習系列十一Prometheus exporter詳解

exporter詳解 前面的系列中,我們在主機上面安裝了node_exporter程序,該程序對外暴露一個用於獲取當前監控樣本數據的http的訪問地址, 這個的一個程序成為exporter,Exporter的實例稱為一個target, prometheus通過輪訓的方式定時從這些target中 ...

Mon Sep 30 17:46:00 CST 2019 0 4661
Prometheus Pushgateway

Prometheus Pushgateway 一、Pushgateway概述 1.1、Pushgateway簡介 Pushgatewayprometheus的一個組件,prometheus server默認是通過exporter主動獲取數據(默認采取pull拉取數據 ...

Tue Jul 13 17:30:00 CST 2021 0 245
prometheus學習系列九: Prometheus AlertManager使用

Prometheus的報警系統中,是分為2個部分的, 規則是配置是在prometheus中的, prometheus組件完成報警推送給alertmanager的, alertmanager然后管理這些報警信息,包括靜默、抑制、聚合和通過電子郵件、on-call通知系統和聊天平台等方法發送通知 ...

Sat Sep 28 03:19:00 CST 2019 2 1085
prometheus學習系列十一Prometheus 報警規則配置

prometheus監控系統的的報警規則是在prometheus這個組件完成配置的。 prometheus支持2種類型的規則,記錄規則和報警規則, 記錄規則主要是為了簡寫報警規則和提高規則復用的, 報警規則才是真正去判定是否需要報警的規則。 報警規則中是可以使用記錄規則的。 提供下我整理 ...

Sun Sep 29 00:54:00 CST 2019 0 5180
prometheus學習系列十一Prometheus 采集器的編寫

在前面的文章已經寫了官方的幾個exporter的使用了。 在實際使用環境中,我們可能需要收集一些自定義的數據, 這個時候我們一般是需要自己編寫采集器的。 快速入門編寫一個入門的demo 編寫代碼 只需要一個py文件, 運行起來, 會監聽在8000端口,訪問127.0.0.1 ...

Fri Oct 11 23:32:00 CST 2019 0 1104
prometheus學習系列十一Prometheus和AlertManager的高可用

前面的系列中, prometheus和alertmanager都是單機部署的,會有單機宕機導致系統不可用情況發生。本文主要介紹下prometheus和alertmanager的高可用方案。 服務的高可靠性架構(基本ha) promehtues是以pull方式進行設計的,因此手機時序資料都是 ...

Fri Oct 11 23:32:00 CST 2019 0 793
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM