简体   繁体   中英

How to display values with decimal places in Grafana with elasticsearch datasource?

I am trying to visualize time series data stored in elastic search using grafana. I have the legend setup to show 2 decimal places but it does not reflect in the UI.

The decimal places show up for other dashboard panels with a tsdb datasource. So this issue is specific to using grafana with elasticsearch. Is there any other configuration setup I am missing here which will help me achieve this?

在此处输入图片说明

在此处输入图片说明

Just found out that elastic search does not allow displaying values without some sort of aggregation and in my case aggregation is resulting in values getting rounded.

There was a related request which seemed to not get much traction in kibana. https://github.com/elastic/kibana/issues/3572

In short not feasible as of [2.x] elastic search.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM