摘要:
查看索引数据: curl http://192.168.5.138:30200/_cat/indices 删除19号logstash的所有数据: curl -XDELETE 'http://192.168.5.138:30200/logstash-2017.06.19' 删除2个月之前的数据: _l 阅读全文
posted @ 2021-08-19 21:03
Varden
阅读(168)
评论(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:31
Varden
阅读(740)
评论(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
阅读(505)
评论(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
阅读(395)
评论(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
阅读(1043)
评论(0)
推荐(0)
摘要:
query.max-concurrency 20 最大支持的并发查询量。 storage.local.checkpoint-dirty-series-limit 5000 崩溃恢复时候,只恢复5000个时序数据,这样减少了prometheus的恢复时间。如果是SSD盘,可以适当增大这个值。 stor 阅读全文
posted @ 2021-08-19 15:42
Varden
阅读(2342)
评论(0)
推荐(0)
摘要:
参考: https://www.prometheus.wang/operator/use-custom-configuration-in-operator.html 在Prometheus Operator我们通过声明式的创建如Prometheus, ServiceMonitor这些自定义的资源类型 阅读全文
posted @ 2021-08-19 11:26
Varden
阅读(652)
评论(0)
推荐(0)
摘要:
参考: https://www.prometheus.wang/operator/use-operator-manage-monitor.html 使用PrometheusRule定义告警规则 对于Prometheus而言,在原生的管理方式上,我们需要手动创建Prometheus的告警文件,并且通过 阅读全文
posted @ 2021-08-19 11:14
Varden
阅读(251)
评论(0)
推荐(0)
摘要:
参考: https://www.prometheus.wang/operator/use-operator-manage-prometheus.html 创建Prometheus实例 当集群中已经安装Prometheus Operator之后,对于部署Prometheus Server实例就变成了声 阅读全文
posted @ 2021-08-19 10:59
Varden
阅读(696)
评论(0)
推荐(0)
摘要:
参考: https://www.prometheus.wang/operator/what-is-prometheus-operator.html Prometheus Operator的工作原理 从概念上来讲Operator就是针对管理特定应用程序的,在Kubernetes基本的Resource和 阅读全文
posted @ 2021-08-19 10:37
Varden
阅读(381)
评论(0)
推荐(0)
摘要:
参考: https://www.prometheus.wang/kubernetes/use-prometheus-monitor-kubernetes.html 下表中,梳理了监控Kubernetes集群监控的各个维度以及策略: 从Kubelet获取节点运行状态 Kubelet组件运行在Kuber 阅读全文
posted @ 2021-08-19 09:42
Varden
阅读(1073)
评论(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
阅读(110)
评论(0)
推荐(0)
摘要:
参考:https://www.prometheus.wang/kubernetes/kubernetes-with-minikube.html Kubernetes作为开源的容器编排工具,为用户提供了一个可以统一调度,统一管理的云操作系统。其解决如用户应用程序如何运行的问题。而一旦在生产环境中大量基 阅读全文
posted @ 2021-08-19 08:42
Varden
阅读(146)
评论(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
阅读(61)
评论(0)
推荐(0)

浙公网安备 33010602011771号