【问题标题】:Query for get Execution Time in Prometheus在 Prometheus 中查询获取执行时间
【发布时间】:2020-11-11 19:39:13
【问题描述】:

我用过 Grafana、Prometheus 和 Metrics

我需要 Prometheus Query 获取每个请求进程的执行时间(延迟)

【问题讨论】:

    标签: prometheus grafana metrics grafana-api


    【解决方案1】:

    如果您使用 Prometheus 服务器 >= 2.16,则可以启用 query logging。这将记录所有查询及其统计信息/时间。

    【讨论】:

      猜你喜欢
      • 2021-09-12
      • 2013-05-02
      • 2016-02-11
      • 1970-01-01
      • 1970-01-01
      • 2012-08-26
      • 1970-01-01
      • 2021-06-19
      • 2021-12-23
      相关资源
      最近更新 更多