![](https://img-blog.csdnimg.cn/20190927151043371.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
promethus
文章平均质量分 54
# promethus
竹杖芒鞋轻胜马,谁怕?一蓑烟雨任平生。
这个作者很懒,什么都没留下…
展开
-
err=“opening storage failed: found unsequential head chunk files /prometheus/chunks_head
因为是双副本,可以删除错误的相关chunks_head,重启pod即可。原创 2023-10-27 09:52:13 · 323 阅读 · 0 评论 -
prometheus标签
自定义标签后,可以根据特定自定义标签实现多维度查询!原创 2023-04-12 08:23:13 · 1400 阅读 · 0 评论 -
prometheus基本概念
prometheus存储的是时序数据,即按照相同时序(相同名字和标签),以时间维度存储的连续数据集合时序是由名字以及key/value标签定义,具有相同的名字以及标签属于相同时序。如http_requests_total{method=”POST”},表示所有http的POST请求标签名称由ASCII字符、数字以及下划线组成,其中,标签值可以是任何Unicode字符,支持中文时序样本:按照某个时序以时间维度采集的数据,称之为样本,其值包括一个float64值和一个毫秒级的unix时间戳。原创 2023-04-12 08:17:12 · 842 阅读 · 0 评论 -
prometheus基本介绍
prometheus属于一站式监控告警平台,依赖少,功能齐全支持对云或者容器的监控,其他不洗头主要针对主机监控数据查询表现力更强大,内置更强大的统计函数在数据存储扩展性和持久性不如InfluxDB、OpenTSDB、Sensu好。原创 2023-04-12 08:17:46 · 600 阅读 · 0 评论 -
thanos prometheus 的高可用、长期存储二进制部署
thanos 是具有长期存储功能的开源、高可用性 Prometheus的集群组件。全局查询视图跨多个 Prometheus 服务器和集群查询指标无限保留使用对象存储扩展系统,不限时间保留指标。Prometheus兼容兼容 Prometheus api,用于grafana降低采样以及块压缩在查询大时间范围或配置复杂的保留策略时,对历史数据进行降低采样以提高查询速度。降低采样如何做:正常情况下,每分钟一个数据点(指标样本)为超过40 小时(2d)的块创建 5m 采样。原创 2023-04-12 07:17:27 · 1047 阅读 · 0 评论 -
Prometheus 的优雅关闭
用找到运行的 Prometheus 进程号使用来关闭。原创 2023-04-10 11:09:42 · 395 阅读 · 0 评论 -
PromLens
PromLens是一个基于PromQL的查询构建、分析和可视化的web工具。翻译 2023-01-01 15:17:39 · 549 阅读 · 0 评论 -
prometheus开机自动启动设置流程
[root@harbor prometheus]# systemctl cat prometheus# /usr/lib/systemd/system/prometheus.service[Unit]Description=Prometheus Monitoring SystemDocumentation=Prometheus Monitoring System [Service]ExecStart=/usr/local/prometheus/prometheus --config.fil原创 2021-08-19 01:15:54 · 540 阅读 · 0 评论 -
No datapoints found
现象:prometheus搜索指标显示No datapoints found.问题:prometheus时区不同步解决办法:执行下面命令,进行同步 #ntpdate pool.ntp.org 或者#ntpdate time.ntp.org原创 2020-07-28 08:58:52 · 2299 阅读 · 0 评论 -
Grafana安装与部署
Grafana下载#wget https://mirrors.huaweicloud.com/grafana/7.0.6/若安装时报错:warning: xxxxxxx Header V4 RSA/SHA1 Signature, key ID 24098cb6: NOKEYerror: Failed dependencies:fontconfig is needed by grafana-xxx.x86_64urw-fonts is needed by grafana-xxxx.x8.原创 2020-07-27 23:49:06 · 2090 阅读 · 0 评论 -
promethus、node_exporter和grafana安装与部署
文章目录1. 简介2. 安装2.1 安装prometheus2.1.1 解压启动2.2 安装node_exporter2.2.1 下载2.2.2 解压启动2.2.3 验证启动成功2.3 安装grafana2.3.1 获取地址:https://grafana.com/grafana/download2.3.2 安装2.3.3 启动grafana2.3.4 访问grafana2.3.4 获取dashboard模板1. 简介Prometheus是一套开源的监控系统,它将所有信息都存储为时间序列数据;因此实现一原创 2020-07-24 08:56:22 · 274 阅读 · 0 评论