普罗米修斯客户端存储

标签 prometheus

我正在尝试使用 prometheus 来检测我的 golang 应用程序,并且想知道“客户端”在哪里存储数据。据我了解,服务器将数据存储在自己的 TSDB 中。但是,我不清楚在我的 golang 应用程序中运行的客户端将在哪里存储指标数据?

最佳答案

这一切都完全保存在内存中,并且当进程终止时就会消失。像 rate() 这样的 Prometheus 函数就是为了处理这个问题而设计的。

关于普罗米修斯客户端存储,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53599364/

相关文章:

grafana - Prometheus 查询 grafana 中的表

grafana - Prometheus 将直方图计数作为总数的百分比

kubernetes - Prometheus 查询 pod 内存使用性能分位数

amazon-web-services - helm 不使用values.yaml 文件

kubernetes - 在 Grafana 中显示普罗米修斯最后抓取的 Kubernetes Pod 中的指标

prometheus - 如何从 PromQL (Prometheus) 中的范围向量计算阈值指标

configuration - 如何更改 OpenTelemetry Collector 中 Prometheus 导出器的默认路径?

grafana - Prometheus/Grafana 最高值和时间

systemd - 无法使用 systemd 启动 prometheus

docker - prometheus 中未公开自定义指标