Expected behavior
Should receive all the images from the dashboard.
Software:
Grafana: 8.3.4
Hubot-Grafana: 3.0.1
Hubot: 3.3.2
Adapter: Slack
Additional context
I have noticed that in this version, there is a return for robot.respond .
Also a corresponding unit test on the next commit.
It seem you did want to return only first panel.
I am not sure the reason for adding this (maybe due to performance?), but I am thinking about whether this can be controlled by a configuration?
For example maybe can use HUBOT_GRAFANA_MAX_RETURNED_DASHBOARDS, to make the number of returned dashboard can be controlled.
And user can query multiple panels with only 1 query.
Look forward to your response. And thanks for the powerful tool :)
Describe the bug Before 2.5.2, when there are more than one panel in dashboard and query by below message, I can get multiple images.
hubot graf db <dashboard-name>
But in version 3+, I can only get exactly 1 image.hubot graf db <dashboard-uid>
To Reproduce Steps to reproduce the behavior:
hubot graf db <dashboard-uid>
Expected behavior Should receive all the images from the dashboard.
Software:
Additional context I have noticed that in this version, there is a
return
forrobot.respond
. Also a corresponding unit test on the next commit. It seem you did want to return only first panel. I am not sure the reason for adding this (maybe due to performance?), but I am thinking about whether this can be controlled by a configuration? For example maybe can useHUBOT_GRAFANA_MAX_RETURNED_DASHBOARDS
, to make the number of returned dashboard can be controlled. And user can query multiple panels with only 1 query.Look forward to your response. And thanks for the powerful tool :)