-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with TimescaleDB and Grafana 8: DataError: Format mismatch: table data can not be interpreted as timeseries format #123
Comments
Hi Daniel, thanks for stepping by and thank you for testing this plugin with the most recent version of Grafana. First, let me begin by saying that I personally didn't have the chance to test it thoroughly with Grafana 8 yet. Further, we are only using InfluxDB on our systems, so solid support for other data sources is regularly validated by people from the community and we will be very happy to both have you on board on this matter and support you as good as we can. So, may I humbly ask which data source (database) you are using? Please note that there also have been problems with the vanilla Worldmap Panel and Grafana 8, where @hugohaggmark first chimed in with grafana#318 and, after that, @mckn and @ryantxu contributed grafana/grafana#36737 to Grafana core. According to what I grok from this, some data sources might not yield data in "wide data frame format" yet and have to be supported by adding a respective "prepare time series" transformer. I haven't used those features of Grafana yet, so I want to apologize that I can't provide a detailed guideline how to achieve that correctly. We will be happy to hear back from you if you can get it working based on this information by adding a "prepare time series" transformer in order to make your data source plugin yield its data in an appropriate format. The outcome from this will be very useful to improve the documentation in order to benefit the community which uses this plugin. With kind regards, |
Thank you for your swift and kind reply! I am using TimescaleDB as my data source. As for the
Format of the data as shown in Grafana's query inspector:
I figured that the
|
Hi Daniel, that looks sweet already:
Yet, 0 points are drawn. While this output looks good to me already, there is still a chance for another less obvious data interpretation flaw, where we would need to keep digging.
Ah, the value of the datum is missing here, right? On this output, I can only spot the timestamp. With kind regards, |
You are right indeed - it started working after saving everything and reloading a few times. I am sorry for wasting your time like this. 😅 Thank you for your help! 💖
Also yes - some of the values are missing since not all of the records have values defined at the same timestamps. However, this does not seem to be source of any issues. |
Hi Daniel,
Great to hear that you have been able to make it working. May I ask which steps you exactly had to take in order to make it work? a) Did you have to apply the
Hm, yeah, that's what I suggested. Thanks for letting us know. However, please report back to us if you will continuously receive such behavior. If this keeps happening, we will have to look into how to improve the situation. With kind regards, P.S.: I will reopen this issue until we have this stuff documented. If you can add respective screenshots here, that would help tremendously. Thanks already! |
Okay, so this is what is necessary in order to make the map work.
Hopefully, this will help someone having similar issues! ✌🏽 |
Dear Daniel, thank you for the excellent written guideline which reads like to be easy to follow through. I will still keep this issue open as a note until I can integrate this waltkthrough into the documentation in one way or another. With kind regards, |
Hello, I'm having issues with using data format and mapping option
Match metric name against key value of JSON record
underTime series, resolve location from custom JSON
. Until now I have been using grafana/worldmap-panel but after updating to the latest version I decided to use this plugin instead. However, I am unable to get it working correctly.I am ending up with error message
DataError: Format mismatch: table data can not be interpreted as timeseries format
even though theFormat as
of the query is set toTime series
in the Grafana edit panel view.JSON URL
is set correctly and its content format matches with countries data from examplesv8.1.1 (90c87a52f7)
0.16.0
Partial example of query result:
2021-05-31 09:04:09.374157 +00:00
2021-05-31 09:04:10.507377 +00:00
2021-05-31 09:04:16.864141 +00:00
Thank you for your time,
Daniel
The text was updated successfully, but these errors were encountered: