如何在Grafana中的图中显示有关每个点的其他信息
我有Grafana 7.5,infuxdb 1.7.8。
DB基本上是为每个图像构建的容器的大小存储,每次构建每次都不同。
DB的样子的一个示例:
> select * from size
name: size
time build value version
---- ---- ----- -------
1650440494922639073 1.1 203 0.1
1650440501807252201 1.2 207 0.1
1650440501807252201 1.3 208 0.1
我的查询看起来像这样:
SELECT "value" FROM "size" WHERE "version" = '0.1' AND $timeFilter
我正在使用图表来表示数据。
当我将鼠标放在数据点上时,它仅显示值(大小),我也想显示构建。
I have Grafana 7.5 with InfluxDB 1.7.8.
The DB is basically storing the size of a container for each image builds, being build
different every time and an important piece of information.
An example of how the DB looks like:
> select * from size
name: size
time build value version
---- ---- ----- -------
1650440494922639073 1.1 203 0.1
1650440501807252201 1.2 207 0.1
1650440501807252201 1.3 208 0.1
My query looks like this:
SELECT "value" FROM "size" WHERE "version" = '0.1' AND $timeFilter
and I'm using the Graph to represent the data.
When I place the mouse over the data points, it only displays the value (size) and I would like to show the build as well.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
build
必须是标签(不是字段) +您需要在查询中通过该构建
标签进行分组。build
must be a tag (not a field) + you need to group by thatbuild
tag in your query.