Setting up an independent URL for the Dx dashboard
search cancel

Setting up an independent URL for the Dx dashboard

book

Article ID: 405031

calendar_today

Updated On:

Products

DX SaaS DX Application Performance Management DX APM SaaS DX OI SaaS DX Operational Intelligence

Issue/Introduction

Possibility to generate an independent URL for the dashboard , while future enhancement for other dashboard should not have an impact.

 The current behavior of dashboard url

dashboard 1 = URL1

dashboard 2 = URL2

In case save as Dashboard 2 to Dashboard 1, it will not be accepted.

So the Expected behavior should be as follows 

dashboard 1 = URL1 

dashboard 2 = URL2 

Re-link or push Dashboard 2 into URL1, so users who are already accessing URL1 can get the changes done in dashboard 2 without changing the URL.

Environment

DX SAAS

Resolution

To meet the  requirement of promoting Dashboard 2 (the new version) in place of Dashboard 1, without changing the shared URL already distributed to users, follow the steps below.

The key idea is to reuse the unique dashboard UID from Dashboard 1 and assign it to Dashboard 2. Grafana dashboard URLs are based on this UID, and by transferring it, you can ensure the original URL points to the updated content.

Steps to Promote Dashboard 2 Without Changing the Shared URL

Step 1: Get the UID of Dashboard 1

  1. Open Dashboard 1.

  2. Go to Dashboard Settings ( icon).

  3. Go to JSON Model, find the UID object, and note the value of UID. For example: "uid": "xxxx"

Step 2: Free up the UID by assigning a temporary UID to Dashboard 1

  1. In Dashboard 1, go to  Settings → JSON Model.

  2. Search for "uid": "xxxx" and replace it with a temporary value, like:
    "uid": "Dashboard1_Backup"

  3. Save the dashboard.

  4. This frees up the UID xxxx so it can be reused.

Step 3: Apply the original UID to Dashboard 2

  1. Open Dashboard 2.

  2. Go to  Settings → JSON Model.

  3. Search for its current UID (e.g., "uid": "xxxx") and replace it with the original UID:
    "uid": "xxxx"

  4. Save the dashboard.

Outcome:

Now when users open the original shared link:

https://dxi-dashboard.dxi-na1.saas.broadcom.com/d/xxxx/<dashboard-name>?tenant=tenant_id

It will open Dashboard 2 instead of Dashboard 1. This allows you to maintain a consistent shared URL, while updating the dashboard content behind it.

Recommendation:

  • Keep backups/exports of both dashboards before performing UID changes.

  • Once done, verify the shared URL yourself to ensure it reflects the new dashboard.