Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Heat map time range inconsistent with data #22

Open
bijujacob opened this issue Feb 23, 2021 · 5 comments
Open

Heat map time range inconsistent with data #22

bijujacob opened this issue Feb 23, 2021 · 5 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. triage/not-reproducible

Comments

@bijujacob
Copy link

This is a pretty neat plugin! Thanks for making it available.

Came across an issue when data stops after a certain point, The heat map time range seems to be inconsistent. Don't know whether this is by design but it didn't appear to be quite intuitive. The issue may be better explained by two examples:

Query A - expected results:
30 day time period; heat maps show the full 30 days.
https://portal.netsage.global/grafana/d/80IVUboZk/individual-flows-per-country?orgId=2&from=1610092800000&to=1612771199000&var-src=United%20States&var-dest=Germany

Query B - unexpected results:
30 day time period, but heat maps show only a week.
https://portal.netsage.global/grafana/d/80IVUboZk/individual-flows-per-country?orgId=2&var-src=Austria&var-dest=Philippines&from=1607438294129&to=1610030294129

Any pointers in resolving this would be greatly appreciated!

@marcusolsson
Copy link
Owner

Thank you for taking the time to tell me about this 🙏 I agree it does look weird. I've been trying to reproduce this without success though.

Could you elaborate on what you mean by "when data stops after a certain point"?

@bijujacob
Copy link
Author

Marcus, thank you for responding.

Let's say, for example we choose a timeline of Feb 1, 2021 - Mar 1, 2021. Let's assume that this dataset does have data starting from Feb 1, 2021.

If for some reason, after Feb 7, 2021 the dataset has no data, the heat maps will only be displayed from Feb 1, 2021 - Feb 7, 2021. Currently, in the panel, the x-axis does not extend beyond Feb 7, 2021. Please see the link in "Query B" above and scroll down to the heat map.

Intuitively, one would expect that even though there are no heatmaps to display (because there is no data) beyond Feb 7, 2021, the empty x-axis would extend all the way to Mar 1, 2021 because that was the specified timeline.

Hope this clears things a bit.

@marcusolsson
Copy link
Owner

Thank you for clarifying! I'll try and see if I can reproduce this and get back to you

@marcusolsson marcusolsson added this to To do in Grafana Plugins via automation Mar 4, 2021
@marcusolsson marcusolsson added the kind/bug Categorizes issue or PR as related to a bug. label Mar 4, 2021
@marcusolsson
Copy link
Owner

I set up a test case with three data points in the middle of the interval. All three are visible and the interval seems ok to me.

Screenshot 2021-03-05 at 15 13 36@2x

What version of Grafana and the plugin are you running?

@bijujacob
Copy link
Author

bijujacob commented Mar 9, 2021

What version of Grafana and the plugin are you running?

Grafana: v7.3.3
Plugin: v0.3.2

@marcusolsson marcusolsson moved this from In progress to Triage in Grafana Plugins Apr 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. triage/not-reproducible
Projects
No open projects
Status: 🧐 Triage
Development

No branches or pull requests

2 participants