Skip to content
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

Grafana Cloud Support #516

Closed
chrishubert opened this issue Feb 20, 2024 · 12 comments · Fixed by #522
Closed

Grafana Cloud Support #516

chrishubert opened this issue Feb 20, 2024 · 12 comments · Fixed by #522
Assignees
Milestone

Comments

@chrishubert
Copy link

chrishubert commented Feb 20, 2024

I have been using the plugin in the previous "AngularJS" version without any problem to visualize my Cloudflare Analytics data in Grafana Cloud
After being prompted by Grafana to update, I blindly went for it and I can't seem to make it working.

  • I tried Uninstall / Re-Install version 3.0.0 without success
  • There are no settings showing (the console doesn't give any relevant error)
    image

Did I miss something? Am I the only facing this issue?
This plugin is the only one that seems to work with Cloudflare Analytics, so I'm a bit desperate to make it work.

@Slach
Copy link
Collaborator

Slach commented Feb 20, 2024

Did you try ask help in Grafana Cloud team?

@chrishubert
Copy link
Author

chrishubert commented Feb 20, 2024

Did you try ask help in Grafana Cloud team?

I'll do that right away as well and put any update to the ticket back here

@chrishubert
Copy link
Author

Some progress:

We can see the settings now
But the dataSourceUrl is now read only, and we can't enter anything there, ticket still ongoing.

An unexpected error happened
Details
TypeError: Cannot assign to read only property 'dataSourceUrl' of object '[object Object]'

@Slach
Copy link
Collaborator

Slach commented Feb 21, 2024

Which Grafana server version do you use?

@chrishubert
Copy link
Author

Which Grafana server version do you use?

Grafana Cloud seems to be running with Grafana v10.4.0-66955 (556d531c8d)

@Slach Slach added this to the 3.0.1 milestone Feb 22, 2024
@Slach Slach self-assigned this Feb 22, 2024
@jamckelvey
Copy link

I am having the same issue you mentioned above, no settings. How did you get the settings to even show up?

@ShravanSunder
Copy link

@Slach
i think the issue with #517 is slightly different.

I had to force reload to get the settings to show up. you have to update grafana cloud from a different page to https://grafana.com/grafana/plugins/vertamedia-clickhouse-datasource/ to make sure your isntance has the latest plugin first. if you click get plugin in this screen it allows you ot update it. Then you have to force reload the settings (clear cache).

The issue in #517 is actually an issue with the plugin

@chrishubert
Copy link
Author

chrishubert commented Feb 23, 2024

@jamckelvey, use hard refresh (CTRL+SHIFT+R) to display the settings.
I still get the same error though. But I managed somehow to save the URL. in the datasource.

This is the response from the support ticket:

Thanks for the update. I took a look, and this is likely an issue with the plugin itself, as the plugin configures these form inputs. Since this is a third-party plugin, support has limited visibility into the inner workings. At this point, I suggest reaching out to the plugin developer.

I agree that it seems to be the same issue as #517

Now I seem to have more issues with form, I can't seem to make the Format At change from Times Series to Table on the query page. There are no console log error, but the settings get reset back to Times Series.

I'll keep it here for the time being, as I don't know if it's specific to Grafana Cloud, please let me know if that's okay for you @Slach

@Cherry
Copy link

Cherry commented Feb 23, 2024

For some additional context on the settings, the Grafana Cloud team had to downgrade my Cloud instance to v10, and enable the Angular support flag for the settings to show up at all. Previously, it was running some test version of 11, which I imagine they do for testing updates with Cloud users.

I did still run into #517 (resolved by manually hitting API), as well as another issue that prevented me from setting the DateTime field in the query builder (resolved by manually editing JSON), as well as the "Format As" to "Table" (also solved by manually editing the JSON).

@Slach
Copy link
Collaborator

Slach commented Feb 23, 2024

Guys thanks for reporting, will try fix it ASAP,
issue from #517

related with our workaround for pass
grafana/grafana#80858

we applied workaround with datasourceUrl, but looks like it broken on grafana 10.4

@chrishubert
Copy link
Author

For people looking for a temporary quick workaround:

  • dataSourceUrl URL issue:
    Paste the URL and click save directly, try hard refresh again and again if it doesn't work
  • Format As not working:
    Edit directly in the dashboard JSON Model.

Finally got my dashboard back. Thanks @Slach for your work on this plugin!

@Slach
Copy link
Collaborator

Slach commented Feb 23, 2024

@chrishubert could you create a separate issue what exactly doesn't work with Format As?
we already have #515, don't be shy to add your feedback in this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants