[英]How to label x-axis with non-time series data in Grafana with Elasticsearch data source?
I have a dashboard in Grafana that displays the percentage of utilization of multiple servers.我在 Grafana 中有一个仪表板,显示多台服务器的利用率百分比。 The x-axis is labeled with time-series(timestamp), I want to label it as server names.
x 轴标有时间序列(时间戳),我想将 label 作为服务器名称。
This is how x-axis looks like with time series.这就是 x 轴在时间序列中的样子。
This is what I want the graph to look like这就是我希望图表的样子
Note: The data source is strictly Elasticsearch and cannot be converted to MySQL.注:数据源严格为Elasticsearch,不能转换为MySQL。
You would probably want to flip your axes - X to Series instead of Time - that would allow you group by series.您可能想要翻转您的轴 - X 到系列而不是时间 - 这将允许您按系列分组。 Something like below (sourced from https://play.grafana.org/d/000000014/elasticsearch-metrics?editPanel=1 )
如下所示(来自https://play.grafana.org/d/000000014/elasticsearch-metrics?editPanel=1 )
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.