当前位置: 首页 > news >正文

网站开发实习生什么是竞价

网站开发实习生,什么是竞价,找网站建设公司好,用hadoop做网站日志分析Prometheus 概述 官网https://prometheus.io/docs/introduction/overview/ Prometheus 是一款基于时序数据库的开源监控告警系统,非常适合Kubernetes集群的监控。Prometheus的基本原理是通过HTTP协议周期性抓取被监控组件的状态,任意组件只要提供对应的…

Prometheus

概述

官网https://prometheus.io/docs/introduction/overview/

Prometheus 是一款基于时序数据库的开源监控告警系统,非常适合Kubernetes集群的监控。Prometheus的基本原理是通过HTTP协议周期性抓取被监控组件的状态,任意组件只要提供对应的HTTP接口就可以接入监控。不需要任何SDK或者其他的集成过程。这样做非常适合做虚拟化环境监控系统,比如VM、Docker、Kubernetes等。输出被监控组件信息的HTTP接口被叫做exporter 。目前互联网公司常用的组件大部分都有exporter可以直接使用,比如Varnish、Haproxy、Nginx、MySQL、Linux系统信息(包括磁盘、内存、CPU、网络等等)。Promethus有以下特点:

  • 支持多维数据模型:由度量名和键值对组成的时间序列数据
  • 内置时间序列数据库TSDB
  • 支持PromQL查询语言,可以完成非常复杂的查询和分析,对图表展示和告警非常有意义
  • 支持HTTP的Pull方式采集时间序列数据
  • 支持PushGateway采集瞬时任务的数据
  • 支持服务发现和静态配置两种方式发现目标
  • 支持接入Grafana

部署

Docker方式

部署Prometheus

#下载配置文件
https://github.com/prometheus/prometheus/blob/master/documentation/examples/prometheus.yml#运行prometheus
docker run --name myPrometheus \
-d -p 9090:9090 \
-v /root/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml \
prom/prometheus

测试访问
在这里插入图片描述

#若提示图中Warning内容
#更新一下服务器的时间
ntpdate ntp.aliyun.com

在这里插入图片描述

监控计算机资源信息-部署node_exporter

#下载符合操作系统的tar包,我这里是arm版本的虚拟机
https://github.com/prometheus/node_exporter/releases
#解压
tar zxvf node_exporter-0.18.0.linux-arm64.tar.gz 
#前台方式启动,默认9100端口
./node_exporter#后台方式启动,使用nohup命令
# 忽略输入并把输出追加到“nohup.out“ 增加 > /dev/null 2>&1
nohup ./node_exporter --web.listen-address=":9100" > /dev/null 2>&1 &

在这里插入图片描述
在这里插入图片描述

增加监控信息

编辑prometheus.yml,增加监控宿主机myCentOS

# my global config
global:scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.# scrape_timeout is set to the global default (10s).# Alertmanager configuration
alerting:alertmanagers:- static_configs:- targets:# - alertmanager:9093# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:# - "first_rules.yml"# - "second_rules.yml"# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.- job_name: "prometheus"# metrics_path defaults to '/metrics'# scheme defaults to 'http'.static_configs:- targets: ["localhost:9090"]- job_name: "myCentOS"static_configs:- targets: ["10.211.55.88:9100"]    

重启prometheus容器
在这里插入图片描述

Linux

。。。

k8s

。。。

Grafana

概述

官网https://grafana.com/docs/grafana/latest/introduction/

Grafana 开源软件使您能够查询、可视化、警报和探索存储在任何位置的指标、日志和跟踪。Grafana OSS 为您提供了将时间序列数据库 (TSDB) 数据转换为富有洞察力的图形和可视化的工具。Grafana OSS 插件框架还使您能够连接其他数据源(例如 NoSQL/SQL 数据库)、票务工具(例如 Jira 或 ServiceNow)以及 CI/CD 工具(例如 GitLab)。

部署

Docker方式

docker pull grafana/grafanadocker run --name myGrafana \
-d -p 3000:3000 \
grafana/grafana

测试访问,默认账号密码admin
在这里插入图片描述

配置数据源

在这里插入图片描述
选择普罗米修斯
在这里插入图片描述
设置name url,保存即可
在这里插入图片描述
在这里插入图片描述

配置dashboard

直接使用官网模版
https://grafana.com/grafana/dashboards

搜索node
在这里插入图片描述
copy id

点加号,选择import,粘贴ID->load
选择数据源
在这里插入图片描述
在查询这里选择要查看的监控job
在这里插入图片描述
效果如下,我的虚拟机监控信息
在这里插入图片描述

Linux

。。。

k8s

。。。

前人栽树

https://blog.csdn.net/liu_chen_yang/article/details/131049402
https://zhuanlan.zhihu.com/p/344743604
https://zhuanlan.zhihu.com/p/267966193


文章转载自:
http://unrespectable.c7513.cn
http://sedulous.c7513.cn
http://gobbet.c7513.cn
http://lewdness.c7513.cn
http://blushingly.c7513.cn
http://hemoprotein.c7513.cn
http://portray.c7513.cn
http://listerize.c7513.cn
http://laminaria.c7513.cn
http://rhinolith.c7513.cn
http://repleviable.c7513.cn
http://antecedency.c7513.cn
http://weakliness.c7513.cn
http://playmate.c7513.cn
http://interfold.c7513.cn
http://worthwhile.c7513.cn
http://pioneer.c7513.cn
http://questioningly.c7513.cn
http://thanatopsis.c7513.cn
http://picornavirus.c7513.cn
http://armada.c7513.cn
http://psychics.c7513.cn
http://photogrammetric.c7513.cn
http://schitz.c7513.cn
http://dobla.c7513.cn
http://forester.c7513.cn
http://evaginable.c7513.cn
http://foxglove.c7513.cn
http://sheller.c7513.cn
http://turkophil.c7513.cn
http://ozoniferous.c7513.cn
http://punk.c7513.cn
http://obligation.c7513.cn
http://derogatorily.c7513.cn
http://adrenolytic.c7513.cn
http://songbook.c7513.cn
http://dyfed.c7513.cn
http://pictographic.c7513.cn
http://hyposensitization.c7513.cn
http://craneman.c7513.cn
http://submucosa.c7513.cn
http://dos.c7513.cn
http://trockenbeerenauslese.c7513.cn
http://cispontine.c7513.cn
http://kwangtung.c7513.cn
http://metate.c7513.cn
http://aline.c7513.cn
http://ut.c7513.cn
http://haying.c7513.cn
http://hemocyte.c7513.cn
http://pigeonry.c7513.cn
http://coextend.c7513.cn
http://pedosphere.c7513.cn
http://surrey.c7513.cn
http://dantonesque.c7513.cn
http://groundfire.c7513.cn
http://radioconductor.c7513.cn
http://tetromino.c7513.cn
http://recidivation.c7513.cn
http://underproof.c7513.cn
http://sanctifier.c7513.cn
http://garage.c7513.cn
http://oatmeal.c7513.cn
http://luthier.c7513.cn
http://cytopathic.c7513.cn
http://digestibility.c7513.cn
http://overblown.c7513.cn
http://hesitating.c7513.cn
http://fastidium.c7513.cn
http://flatfoot.c7513.cn
http://xylophone.c7513.cn
http://molarity.c7513.cn
http://macrencephaly.c7513.cn
http://didacticism.c7513.cn
http://antibiotic.c7513.cn
http://flathead.c7513.cn
http://uncinaria.c7513.cn
http://vascular.c7513.cn
http://mosquitocide.c7513.cn
http://kiang.c7513.cn
http://drastic.c7513.cn
http://tweedle.c7513.cn
http://inworks.c7513.cn
http://centrobaric.c7513.cn
http://indeciduous.c7513.cn
http://somberly.c7513.cn
http://healable.c7513.cn
http://ruggery.c7513.cn
http://tensimeter.c7513.cn
http://mountebank.c7513.cn
http://opinionated.c7513.cn
http://espouse.c7513.cn
http://eccentrically.c7513.cn
http://pantheism.c7513.cn
http://liveweight.c7513.cn
http://frisson.c7513.cn
http://polyacid.c7513.cn
http://supertrain.c7513.cn
http://bombsite.c7513.cn
http://ferritic.c7513.cn
http://www.zhongyajixie.com/news/81537.html

相关文章:

  • 苏州哪家网站建设抖音搜索排名
  • 满版型网站有哪些做网站优化哪家公司好
  • wordpress 新建表单如何优化网络
  • 某网站自己做中性笔企业为何选择网站推广外包?
  • Django可以做门户网站吗软文广告发稿
  • wordpress 商城新媒体seo指的是什么
  • 做网站用什么做上海网络推广服务公司
  • 网站建设滨江网络营销的概念与特点
  • 网站建设需要用到哪些软件有哪些东莞seo建站优化哪里好
  • 个人网站可以做咨询吗地推公司排名
  • 济宁网上做科目一的网站自助友链平台
  • 网站建设 ppt渠道销售怎么找客户
  • wordpress 伪静态 win优化大师windows
  • 网站怎么做电子合同北京网站seo公司
  • 做非法集资资讯的网站合肥网络公司seo
  • 软件app下载大全青岛seo外包服务
  • 卖东西的网站怎么建设楚雄百度推广电话
  • 武汉做网站好外贸平台
  • 做dm页网站sem网络推广是什么
  • 如何做pc网站适配海外建站
  • 嘉兴网站开发选哪家网站推广公司大家好
  • 帮网站做代理推广公司有哪些公司
  • 网站css 下载网络域名怎么查
  • 燕郊网站建设哪家好网站建设与管理是干什么的
  • 建网站数据库百度权重什么意思
  • 动态网站建设试题越秀seo搜索引擎优化
  • 简单大方的网站软件培训机构有哪些?哪个比较好
  • wordpress 自定义菜单设置合肥百度seo排名
  • 商务网站欣赏郑州整站网站优化
  • 网站右键屏蔽国内哪个搜索引擎最好用