question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

More than just the graph is rendered

See original GitHub issue

What happened:

When i request a rendered version of the graph, i get a PNG of a whole section of the grafana dashboard

What you expected to happen:

To just get a PNG of the graph I requested, without extra graphs and Grafana artwork

How to reproduce it (as minimally and precisely as possible):

We installed the latest versions of Prometheus, Grafana & Grafana Image Renderer. I’m running with default Grafana configuration except for:

[paths]
data         = /srv/shared/grafana/data
logs         = /srv/shared/log/grafana
plugins      = /srv/shared/grafana/plugins
provisioning = /srv/shared/grafana/conf/provisioning
[server]
http_addr           = 127.0.0.1
http_port           = 3000
root_url            = https://vbox1-local-development.transloadit.com/grafana
serve_from_sub_path = true
[dashboards]
default_home_dashboard_path = /srv/shared/grafana/jsondashboards/regional.json
[auth.anonymous]
org_name = Transloadit
[log]
mode = syslog
[log.syslog]
tag = grafana
[external_image_storage]
provider = s3
[external_image_storage.s3]
bucket     = XXX
region     = us-east-1
path       = /grafana/renderings
access_key = XXX
secret_key = XXX

Anything else we need to know?:

Here is an actual PNG that was returned instead of just one graph:

image

I got this picture by clicking here:

image

Environment:

  • Grafana Image Renderer version: v1.0.0
  • Grafana version: Grafana v7.3.6
  • Installed plugin or remote renderer service: Remote Renderer Service
  • OS Grafana Image Renderer is installed on: Ubuntu
  • User OS & Browser: Ubuntu, Firefox

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Ma27commented, Jan 19, 2021
  • We’re not using v1.0.0 there, but instead a fairly recent master (ce1f81438e5f69c7fd7c73ce08bab624c4c92e25).
  • The issue disappears as soon as we comment out root_url. I confirmed that using http or https doesn’t make a difference. Also, setting and unsetting the hostname from root_url (see above for the config snippet) to 127.0.0.1 in /etc/hosts doesn’t make a difference as well.
  • As requested, I ran the service yesterday with more verbose logs enabled: https://gist.github.com/Ma27/51fd65d8a2182c5a0c5e8855d956e2fc

Now I’m not experienced with the internals of how this plugin works. Do those additional things help you to comprehend this issue or is there anything else I can do? 😃

1reaction
kvzcommented, Feb 8, 2021

Wow, that fixed it, thank you so much, and sorry for wasting your time over a misconfiguration on our part 👌

Read more comments on GitHub >

github_iconTop Results From Across the Web

Charts do not render in Excel - Microsoft Community
I am building charts to demonstrate some of Excel's functions to my class, but I have discovered that the charts (which are Pivot...
Read more >
Graph not rendering in Main Dashboard - Checkmk Forum
Error message: “Sorry, you cannot create combined graphs for more than 100 objects” (Percentage of total service problems on Main Dashboard).
Read more >
Plotly showing characters not rendering graph - Stack Overflow
I am trying to render a graph but I am unable to do so. The images below depict my problem. When my page...
Read more >
Render Graphs - Riccardo Loggini
Having engine render code directed by a render graph brings many properties. First of all, it brings a much more clear order of...
Read more >
Writing a render pipeline | Core RP Library - Unity - Manual
You can use more than one instance of a render graph, but be aware that Unity does not share resources across RenderGraph instances...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found