【问题标题】:Grafana: using instance label in title field of stats panelGrafana:在统计面板的标题字段中使用实例标签
【发布时间】:2020-02-07 06:45:54
【问题描述】:

我正在寻找在统计面板的标题字段中显示实例标签 (node_boot_time_seconds{instance="***.local:9100"}) 的可能性。有悬停消息

Template Variables:
${__series.name}
${__field.name}
$__cell_{N} / $__calc

on the title box.

也许你有个主意!

问候

【问题讨论】:

    标签: prometheus grafana grafana-templating grafana-variable


    【解决方案1】:

    您应该在查询部分中设置Legend 字段,如下所示:

    面板的标题将替换为此名称或模式

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-06-10
      • 2021-02-20
      • 2018-10-16
      • 2019-09-26
      • 2017-04-19
      相关资源
      最近更新 更多