apache / incubator-devlake

Apache DevLake is an open-source dev data platform to ingest, analyze, and visualize the fragmented data from DevOps tools, extracting insights for engineering excellence, developer experience, and community growth.
https://devlake.apache.org/
Apache License 2.0
2.58k stars 518 forks source link

[Bug][Grafana] Grafana Create new Organization Failed #8146

Open diwangcanada opened 10 hours ago

diwangcanada commented 10 hours ago

Search before asking

What happened

Try to use Grafana organizations to manage different projects for different teams. When create a new organization in Grafana, url keeps redirect from https:///grafana/dashboards to https://localhost/?orgId=3 Have to manually update url to https:///grafana/?orgId=3 in order to switch to new organization. Then, there is no dashboard available in new organizations. Does Grafana organizations work with DevLake? Or do we have to use the default "Main Org" only?

What do you expect to happen

With new Gragana organizations created, url can automatically update when switch to new organization. Dashboards are available in new organizations.

How to reproduce

In Grafana, Administration --> General-->Organizations, create new organization. Then switch to new organization by click the drop list from top left of the page

Anything else

No response

Version

1.0.1-beta9

Are you willing to submit PR?

Code of Conduct

dosubot[bot] commented 10 hours ago

The issue you're experiencing with Grafana organizations and URL redirection when using DevLake is not specifically documented in the available resources. However, the DevLake documentation does provide guidance on setting up dashboards for new Grafana organizations, which might help you ensure that dashboards are available in new organizations. This involves creating and saving a dashboard, accessing its settings, and copying the JSON model code into a new .json file in the /grafana/dashboards directory [1][2][3].

Unfortunately, there is no specific information available about the URL redirection issue or any known limitations with using Grafana organizations in conjunction with DevLake. You might need to manually adjust the URLs as a temporary workaround or explore Grafana's settings to see if there are any configurations that could help with this issue.

To continue talking to Dosu, mention @dosu.