Grafana dashboard URL is keep changing

0down votefavorite

1

I am using Grafana latest version 5.2.1 and url for my dashboard is shown below,

http://hostname:3000/d/000000054/jtidetaildashboard?var-node=10.102.182.90

I am using this URL to redirect from my other program.

Now part of this URL changes every time, For e.g.

http://hostname:3000/d/000000075/jtidetaildashboard?var-node=10.102.182.90

http://hostname:3000/d/hiJ7MhP/jtidetaildashboard?var-node=10.102.182.90

Wondering what URL i should use that can work every time. I never had this problem using older version of Grafana.

I am using standard redirect using Struts and dashboard name is “jtidetaildashboard” Ideally, the URL should be,

http://hostname:3000/jtidetaildashboard?var-node=10.102.182.90

But this is not the case, wondering what i am missing?

http://docs.grafana.org/guides/whats-new-in-v5/#dashboard-model-persistent-url-s-and-api-changes

The unique identifier allows having persistent URL’s for accessing dashboards, sharing them between instances and when using dashboard provisioning. This means that dashboard can be renamed without breaking any links. We’re changing the url format for dashboards from /dashboard/db/:slug to /d/:uid/:slug . We’ll keep supporting the old slug-based url’s for dashboards and redirects to the new one for backward compatibility. Please note that the old slug-based url’s have been deprecated and will be removed in a future release.

Something/someone is changing your dashboard uid - you need to find a reason of uid changes.