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

Analytics data not showing in the Grafana panel #65

Closed h-pcode closed 10 months ago

h-pcode commented 1 year ago

Hi I have completed all the required steps like Created JWT token from gcp side and added permission to the service account created , then upload the JWT to grafana side but somehow whenever I am trying to see the data by inserting the metrics and dimensions it is showing that "Field request.dimensions.name is required., badRequest" and sometimes "Fail query" error="failed to read query: error reading query: json: cannot unmarshal object into Go struct field QueryModel.dimensions of type []string" and sometimes this Error 400: Selected dimensions and metrics cannot be queried together., badRequest". Can you please guide me on this.

lcc3108 commented 1 year ago

Please submit the issue according to the bug report format need more infomation

Error 400: Selected dimensions and metrics cannot be queried together., badRequest".

This error message has an option that cannot be used together between metric, time dimension, and dimension. The current plug-in lists the available metrics, dimensions, but there is no logic to verify.

h-pcode commented 1 year ago

Thank you for your response, just want to confirm one thing that does GA4 supports in Grafana 9.0.5. Because from July GA4 will be implemented so does this analytics plugins can be used for connecting with GA4, if yes then can you provide steps for it to execute GA4 in Grafana 9.0.5

lcc3108 commented 1 year ago

The current 0.1.5 does not support GA4. We are working on GA4 support at the branch at the link.

However, even if the branch is merged, it will take time to submit it to Grafana and approve it. We need a test