Code Monkey home page Code Monkey logo

Comments (5)

amotl avatar amotl commented on June 5, 2024 1

Getting a dashboard by slug (which is the API endpoint you are referring to) has been deprecated 1. Today, with recent versions of Grafana, getting a dashboard by uid seems to be the only viable option 2. An alternative could be the Folder/Dashboard Search API 3.

Footnotes

  1. https://grafana.com/docs/grafana/v7.5/http_api/dashboard/#get-dashboard-by-slug

  2. https://grafana.com/docs/grafana/v7.5/http_api/dashboard/#get-dashboard-by-uid

  3. https://grafana.com/docs/grafana/v7.5/http_api/folder_dashboard_search/

from grafana-client.

amotl avatar amotl commented on June 5, 2024 1

Dear Oz,

GH-109 will bring in a patch which avoids letting the user run into "404 Not Found" responses, but raise a corresponding exception instead.

With kind regards,
Andreas.

from grafana-client.

oz123 avatar oz123 commented on June 5, 2024 1

I appreciate your effort! Maintaining FOSS is hard (especially if done in your free time).

from grafana-client.

amotl avatar amotl commented on June 5, 2024

Hi Oz,

thank you for writing in.

I might be totaly wrong by it seems this path this method tries to access does not exist.

Another option would be that the addressed dashboard just does not exist, right?

With kind regards,
Andreas.

from grafana-client.

oz123 avatar oz123 commented on June 5, 2024

In that case, the API isn't clear what is the dashboard name, is it the title? Is it case sensitive?

from grafana-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.