chaoss / grimoirelab

GrimoireLab: platform for software development analytics and insights
https://chaoss.github.io/grimoirelab/
GNU General Public License v3.0
473 stars 179 forks source link

Unable to group date histogram by quarter #319

Closed RCheesley closed 10 months ago

RCheesley commented 4 years ago

Hi folks,

Trying to group a date histogram by quarter but struggling - see screencap:

https://www.youtube.com/watch?v=fmIbaawSFqg

Any suggestions?

RCheesley commented 4 years ago

Was there any thought on how to resolve this?

alpgarcia commented 4 years ago

Hi @RCheesley,

I'm sorry, I didn't see this issue. I found a workaround for that, it is not perfect though.

Here is the workaround I found some time ago:

Quarters_01

(*) Interval field seems to be used by Kibana to set charts width, but not passed in the underlying ES query for data (see interval within the request JSON body): Quarters_02

Hope it helps!

Alberto.

RCheesley commented 4 years ago

Thanks for the suggestion, I'll look into that for sure!

RCheesley commented 4 years ago

Hi there,

This partially addresses the issue however it concerns me that this seems to suggest there is data coming in from July when it shouldn't be:

screenshot-dashboard mautic org-2020 07 27-14_36_04

alpgarcia commented 4 years ago

At this point, I fear this is a Kibana issue and I'm not sure whether we could find a workaround for this in the vertical bar chart visualization. Maybe timelion or Vega visualizations could provide other ways to deal with this.