Skip to content

Commit

Permalink
Merge pull request #42 from riverbuilding/patch-3
Browse files Browse the repository at this point in the history
Thanks
  • Loading branch information
yunlzheng committed Oct 8, 2019
2 parents ffad693 + 564cf92 commit 970feab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grafana/use-console-template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 使用Console Template

在第1章以及第2章的内容中,读者已经对Prometheus已经有了一个相对完成的认识,并且我们已经学习了如何通过PromQL对时间序列数据进行查询和分析,并且通过Prometheus中的Graph面板查询数据形成图表。但是确定也很明显,这些查询结果都是临时的,无法持久化的,更别说我们想实时关注某些特定监控指标的变化趋势。
在第1章以及第2章的内容中,读者已经对Prometheus已经有了一个相对完成的认识,并且我们已经学习了如何通过PromQL对时间序列数据进行查询和分析,并且通过Prometheus中的Graph面板查询数据形成图表。但是缺点也很明显,这些查询结果都是临时的,无法持久化的,更别说我们想实时关注某些特定监控指标的变化趋势。

为了简化这些问题Prometheus内置了一个简单的解决方案`Console Template`,它允许用户通过Go模板语言创建任意的控制台界面,并且通过Prometheus Server对外提供访问路径。

Expand Down

0 comments on commit 970feab

Please sign in to comment.