prometheus - 如何在 Prometheus 中仅远程写入所有抓取指标的子集?

标签 prometheus

尝试了解是否有一种方法可以使用类似于联合端点抓取的remote_write仅将某些指标发送到远程存储。

最佳答案

找到了答案,但不知道我最初是如何错过的:

write_relabel_configs is relabeling applied to samples before sending them to the remote endpoint. Write relabeling is applied after external labels. This could be used to limit which samples are sent.

来自https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write

关于prometheus - 如何在 Prometheus 中仅远程写入所有抓取指标的子集?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56155339/

相关文章:

Prometheus Metrics 端点正在运行,但目标状态为 down

Prometheus topk 返回的结果比预期的多

mysql - 有什么方法可以将 Prometheus 数据存储到外部数据库,如 mysql 或 postgreSQL

java - 当 Spring Boot 健康检查状态发生变化时收到通知

grafana - 从 Grafana 使用 Prometheus 时有时会出现 405

loops - 带有自定义收集器的普罗米修斯仪表 - 去

java - 如何使用 SLA 和标签注册 Micrometer Timer?

monitoring - 普罗米修斯增加不处理进程重新启动

java - 使用 Prometheus 监控 Spring Boot 应用程序

go - 创建类似 "reloadCh chan chan error"的 channel 是什么意思