Prometheus remote write write_relabel_configs not working
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- prometheus
调研方向
先从 issue 中的 remoteWrite 和 write_relabel_configs 示例开始,然后将其 regex 和 source_labels 与 Prometheus 的 remote-write 文档进行比较。完成的标准是确定文档中的配置或报告的行为是否需要更正;issue 未指出任何源文件或测试。
由索引模型根据 Issue 内容生成。
描述
I want to only remote write metrices only with some specific names. The following is my remoteWrite configuration -
` remoteWrite:
- queue_config:
capacity: 20000
max_samples_per_send: 10000
max_shards: 30
tlsConfig:
insecureSkipVerify: true
url: http://vminsert./insert/0/prometheus
write_relabel_configs:- action: keep
regex: "(.*)vm_(.*)|kube_pod_status_phase|kubelet_volume_stats_capacity_bytes"
source_labels: [name]
`
- action: keep
I want to write only the metrices mentioned in regex. But it is remote writing each and every metrices to Victoria Metrices. Where am I going wrong ?

#prometheus #remoteWrite
- 主要语言
- TypeScript
- 星标
- 727
- 派生
- 1.2k
- 平均合并
- 3 天 11 小时
- 30 天内合并 PR
- 21
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
prometheus/docs 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 65/100
prometheus/docs#3198 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
prometheus/docs#2285 ·
维护者通常 3 天内回复
-
难度 1/5 1 小时以内 新手友好度 65/100
prometheus/docs#2232 ·
维护者通常 3 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
prometheus/docs#2171 ·
维护者通常 3 天内回复
-
better 404 page可能重新可做 关联的 PR 已关闭且未合并。 未关闭good first issue priority/p3 site
难度 2/5 1-3 小时 新手友好度 64/100
prometheus/docs#1795 · 2 条评论 ·
维护者通常 3 天内回复
相似的 Issue
-
bug
难度 2/5 半天 新手友好度 62/100
garethgeorge/backrest#1451 ·
维护者通常 1 天内回复
-
fix(core): \.pluck() returns values in key insertion order instead of requested argument order可能已有人在做 @ManyaS-Git 于 1 天前认领。 未关闭status:in-linear
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 13 天内回复
-
bug
难度 2/5 半天 新手友好度 68/100
navikt/skjemabygging-formio#2399 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
lidofinance/validator-ejector#233 ·
维护者通常 1 天内回复