blackcowmoo / grafana-google-analytics-datasource

Grafana Google Analytics datasource
https://grafana.com/grafana/plugins/blackcowmoo-googleanalytics-datasource/
Apache License 2.0
35 stars 15 forks source link

[BUG] How to remove Time Dimension? #77

Closed Shebelev closed 9 months ago

Shebelev commented 11 months ago

In order to build a report which is reflecting the number of visitors grouped by 'Landing Page + query string', I would like to use only one dimension 'Landing Page + query string' with the timeframe that I can set in the time panel in the top right corner.

But in the current configuration, Time Dimension choosing is mandatory. So I'm getting date rows and columns with Landing Pages, please check out the following screenshot:

image

I suggest getting the table as we see on Google Analytics. Rows are dimensions, columns are metrics. With options to get rid of Time Dimension.

image

Please, let me know if it is possible to implement or fix it in the upcoming days.

lcc3108 commented 11 months ago

We need to test it, but it seems possible to implement it. Previously, time dimensions were required because it was based on the use of grafana graphs.

Shebelev commented 11 months ago

I would really appreciate it if you could do it soon. Again, my goal is to get the table with 'Landing Page + query string' dimension as the first column and metrics such as Active Users, Sessions and etc in the following columns the same as you can see on the screenshot from GA below:

image

Please, let me know if you have any questions.

Shebelev commented 10 months ago

Nice to see this in your TODO list! Appreciate it!

Shebelev commented 10 months ago

@lcc3108 hi, dude! Would you tell me the estimated time when you will be able to make this work? Thanks in advance!

lcc3108 commented 10 months ago

@Shebelev

It is difficult to answer the estimated time. Even if the development is finished now, i don't know how long it will take until the grafana plugin update process.

One thing I can say is that I just started working on it.

lcc3108 commented 10 months ago
image

I think the backend work is pretty much done. However, the data verification part and front-end work are left.

We are planning to create a separate UI because we can only scope it by date when looking up data in GA. (Maybe...)

Shebelev commented 10 months ago

@lcc3108 Hi, awesome! It looks just like we needed. I'm excited when you finalize this update. Thanks!

Shebelev commented 9 months ago

@lcc3108 is the plugin available now? or can this issue be on our end? Thanks for what you do!

Image

lcc3108 commented 9 months ago

@Shebelev 0.2.1 has a bug, so I fixed it as 0.2.2.

Can you tell me the version information?

Shebelev commented 9 months ago

@Shebelev We updated Grafana, and all works but I see the same. It still requires me to choose the period of time. When I do it, I receive divided data by the second dimension

Image

Image

lcc3108 commented 9 months ago

@Shebelev The feature of the current issue is released in 0.2.3.

Plug-in updates have been submitted and will be released after a grafana review.