|NO.Z.00061|——————————|^^ 部署 ^^|——|Hadoop&实时数仓.V01|——|可视化.v01|监控:Prometheus部署.V1|

一、系统实时监控&可视化
### --- 普罗米修斯Prometheus

~~~     # 功能:在业务层用作埋点系统
~~~     Prometheus支持多种语言(Go,java,python,ruby官方提供客户端,
~~~     其他语言有第三方开源客户端)。我们可以通过客户端方便的对核心业务进行埋点。
~~~     如下单流程、添加购物车流程。
~~~     # 在应用层用作应用监控系统
~~~     一些主流应用可以通过官方或第三方的导出器,来对这些应用做核心指标的收集。
~~~     如redis,mysql。在系统层用作系统监控 除了常用软件, 
~~~     prometheus也有相关系统层和网络层exporter,用以监控服务器或网络。
~~~     集成其他的监控 prometheus还可以通过各种exporter,
~~~     集成其他的监控系统,收集监控数据,如AWSCloudWatch,JMX,Pingdom等等
### --- 在监控服务器上安装prometheus

~~~     prometheus官网地址:https://prometheus.io/download/,
~~~     prometheus版本包地址:https://github.com/prometheus/prometheus/releases/tag/v2.22.1
### --- prometheus安装流程

~~~     安装go 语言环境
~~~     在监控服务器上安装prometheus
~~~     在被监控环境上安装export
~~~     安装grafana

 
 
 
 
 
 
 
 
 

Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of life.It sinks, and I am ready to depart
                                                                                                                                                   ——W.S.Landor

 

 

posted on 2022-04-16 14:11  yanqi_vip  阅读(27)  评论(0)    收藏  举报

导航