grafana_api icon indicating copy to clipboard operation
grafana_api copied to clipboard

Suggestion for Improvement "get_dashboard_by_name"

Open luixx opened this issue 3 years ago • 1 comments
trafficstars

Is there a possibilty you could add the following code to the next release please?

def get_dashboard_by_name(self, dashboard_name):
        """

        :param dashboard_name:
        :return:
        """
        get_dashboard_path = "/dashboards/db/%s" % dashboard_name
        r = self.api.GET(get_dashboard_path)
        return r

luixx avatar Feb 01 '22 15:02 luixx

Dear @luixx,

thank you for your suggestion. We recently forked this repository to ^1, see #88. Can you imagine submitting a pull request there in order to bring your improvement into the subsequent release?

With kind regards, Andreas.

amotl avatar Feb 06 '22 23:02 amotl