-
Notifications
You must be signed in to change notification settings - Fork 5
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
Restricted Grafana environment shows 'dashboard does not exist' [solved] #2
Comments
First of all: thanks for using the ruby-grafana-reporter.
Let me know, if this helps. |
I made the changes you suggested, but the problem persists. If I enable anonymous access in Grafana everything works, in this case ruby-grafana-reporter uses orgId = 1 I don't want to enable anonymous access, is there any way to fix this? Thanks. |
Thanks for your investigation. The reporter never uses the This also would explain, why enabling anonymous access is working. In that case the reporter does not use the provided Please reevaluate again and kindly come back with your feedback. PS: If you want to access several grafana instances or several organizations within one grafana instance, you may simply configure additional grafana hosts in the configuration file. Then it's possible to put a query to the individual grafana instance by specifying |
Can you kindly report if the issue is solved? Otherwise I will close the issue within the next days without further feedback, because of lacking information. |
Thanks for your support. I will try and update soon. |
Resolved. Thanks. |
I have installed the reporter on CentOS 7 and Grafana 7.4.3. Grafana has restricted access. The installation and testing with MyFirstReport went well.
I created the following template:
and created the link in the Grafana dashboard.
I always get the following error:
GrafanaError: The specified dashboard 'hiaysXEGk' does not exist. (Grafana :: DashboardDoesNotExistError)
/usr/lib64/ruby/gems/2.7.0/gems/ruby-grafana-reporter-0.3.0/lib/grafana/grafana.rb:71:in
dashboard ' /usr/lib64/ruby/gems/2.7.0/gems/ruby-grafana-reporter-0.3.0/lib/grafana_reporter/asciidoctor/extensions/panel_image_inline_macro.rb:48:in
process'/usr/lib64/ruby/gems/2.7.0/gems/asciidoctor-2.0.12/lib/asciidoctor/substitutors.rb:333:in
[] ' /usr/lib64/ruby/gems/2.7.0/gems/asciidoctor-2.0.12/lib/asciidoctor/substitutors.rb:333:in
block (2 levels) in sub_macros'Note that the dashboard exists.
I think the problem is due to the API key. I don't know where to configure it, I tried in the grafana_reporter.config file like:
Note that has admin rights
Thanks.
The text was updated successfully, but these errors were encountered: