上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 34 下一页
摘要: 构建钉钉Webhook镜像 代码依赖文件:requirements.txt certifi==2018.10.15 chardet==3.0.4 Click==7.0 Flask==1.0.2 idna==2.7 itsdangerous==1.1.0 Jinja2==2.10 MarkupSafe 阅读全文
posted @ 2021-08-19 17:31 Varden 阅读(767) 评论(0) 推荐(0)
摘要: 构建微信Webhook镜像 代码依赖文件:requirements.txt certifi==2018.10.15 chardet==3.0.4 Click==7.0 Flask==1.0.2 idna==2.7 itsdangerous==1.1.0 Jinja2==2.10 MarkupSafe 阅读全文
posted @ 2021-08-19 17:10 Varden 阅读(518) 评论(0) 推荐(0)
摘要: groups: - name: MySQLStatsAlert rules: - alert: MySQL is down expr: mysql_up == 0 for: 1m labels: severity: critical annotations: summary: "Instance { 阅读全文
posted @ 2021-08-19 15:51 Varden 阅读(398) 评论(0) 推荐(0)
摘要: Nov 19 15:32:28 k8s-node-4 kernel: [9063714.121381] nfs4_reclaim_open_state: 40 callbacks suppressed Nov 19 15:32:28 k8s-node-4 kernel: [9063714.12138 阅读全文
posted @ 2021-08-19 15:45 Varden 阅读(1061) 评论(0) 推荐(0)
摘要: query.max-concurrency 20 最大支持的并发查询量。 storage.local.checkpoint-dirty-series-limit 5000 崩溃恢复时候,只恢复5000个时序数据,这样减少了prometheus的恢复时间。如果是SSD盘,可以适当增大这个值。 stor 阅读全文
posted @ 2021-08-19 15:42 Varden 阅读(2368) 评论(0) 推荐(0)
摘要: 参考: https://www.prometheus.wang/operator/use-custom-configuration-in-operator.html 在Prometheus Operator我们通过声明式的创建如Prometheus, ServiceMonitor这些自定义的资源类型 阅读全文
posted @ 2021-08-19 11:26 Varden 阅读(655) 评论(0) 推荐(0)
摘要: 参考: https://www.prometheus.wang/operator/use-operator-manage-monitor.html 使用PrometheusRule定义告警规则 对于Prometheus而言,在原生的管理方式上,我们需要手动创建Prometheus的告警文件,并且通过 阅读全文
posted @ 2021-08-19 11:14 Varden 阅读(254) 评论(0) 推荐(0)
摘要: 参考: https://www.prometheus.wang/operator/use-operator-manage-prometheus.html 创建Prometheus实例 当集群中已经安装Prometheus Operator之后,对于部署Prometheus Server实例就变成了声 阅读全文
posted @ 2021-08-19 10:59 Varden 阅读(723) 评论(0) 推荐(0)
摘要: 参考: https://www.prometheus.wang/operator/what-is-prometheus-operator.html Prometheus Operator的工作原理 从概念上来讲Operator就是针对管理特定应用程序的,在Kubernetes基本的Resource和 阅读全文
posted @ 2021-08-19 10:37 Varden 阅读(383) 评论(0) 推荐(0)
摘要: 参考: https://www.prometheus.wang/kubernetes/use-prometheus-monitor-kubernetes.html 下表中,梳理了监控Kubernetes集群监控的各个维度以及策略: 从Kubelet获取节点运行状态 Kubelet组件运行在Kuber 阅读全文
posted @ 2021-08-19 09:42 Varden 阅读(1095) 评论(0) 推荐(0)
摘要: 参考: https://www.prometheus.wang/kubernetes/service-discovery-with-kubernetes.html Kubernetes的访问授权 这里创建prometheus-rbac-setup.yml文件,并写入以下内容: apiVersion: 阅读全文
posted @ 2021-08-19 09:09 Varden 阅读(113) 评论(0) 推荐(0)
摘要: 参考:https://www.prometheus.wang/kubernetes/kubernetes-with-minikube.html Kubernetes作为开源的容器编排工具,为用户提供了一个可以统一调度,统一管理的云操作系统。其解决如用户应用程序如何运行的问题。而一旦在生产环境中大量基 阅读全文
posted @ 2021-08-19 08:42 Varden 阅读(151) 评论(0) 推荐(0)
摘要: 参考: https://www.prometheus.wang/kubernetes/kubernetes-with-minikube.html Kubenetes是一款由Google开发的开源的容器编排工具(GitHub源码),在Google已经使用超过15年(Kubernetest前身是Goog 阅读全文
posted @ 2021-08-19 08:42 Varden 阅读(64) 评论(0) 推荐(0)
摘要: 参考: https://www.prometheus.wang/sd/service-discovery-with-relabel.html Prometheus的Relabeling机制 在Prometheus所有的Target实例中,都包含一些默认的Metadata标签信息。可以通过Promet 阅读全文
posted @ 2021-08-18 22:26 Varden 阅读(176) 评论(0) 推荐(0)
摘要: 参考: https://www.prometheus.wang/sd/service-discovery-with-file.html 在Prometheus支持的众多服务发现的实现方式中,基于文件的服务发现是最通用的方式。这种方式不需要依赖于任何的平台或者第三方服务。对于Prometheus而言也 阅读全文
posted @ 2021-08-18 21:46 Varden 阅读(106) 评论(0) 推荐(0)
摘要: 参考: https://www.prometheus.wang/sd/why-need-service-discovery.html 基于服务发现与注册中心动态发现监控目标 在不同的场景下,会有不同的东西扮演者代理人(服务发现与注册中心)这一角色。 比如在AWS公有云平台或者OpenStack的私有 阅读全文
posted @ 2021-08-18 21:37 Varden 阅读(116) 评论(0) 推荐(0)
摘要: 参考: https://www.prometheus.wang/ha/alertmanager-high-availability.html 为了提升Promthues的服务可用性,通常用户会部署两个或者两个以上的Promthus Server,它们具有完全相同的配置包括Job配置,以及告警配置等。 阅读全文
posted @ 2021-08-18 21:15 Varden 阅读(564) 评论(0) 推荐(0)
摘要: 参考: https://www.prometheus.wang/ha/prometheus-and-high-availability.html 基本HA:服务可用性 由于Promthues的Pull机制的设计,为了确保Promthues服务的可用性,用户只需要部署多套Prometheus Serv 阅读全文
posted @ 2021-08-18 17:41 Varden 阅读(381) 评论(0) 推荐(0)
摘要: 参考: https://www.prometheus.wang/ha/scale-prometheus-with-federation.html 使用联邦集群 如上图所示,在每个数据中心部署单独的Prometheus Server,用于采集当前数据中心监控数据。并由一个中心的Prometheus S 阅读全文
posted @ 2021-08-18 17:22 Varden 阅读(742) 评论(0) 推荐(0)
摘要: 参考: https://www.prometheus.wang/ha/prometheus-local-storage.html 本地存储 Prometheus 2.x 采用自定义的存储格式将样本数据保存在本地磁盘当中。如下所示,按照两个小时为一个时间窗口,将两小时内产生的数据存储在一个块(Bloc 阅读全文
posted @ 2021-08-18 16:41 Varden 阅读(1516) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 34 下一页