Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to change UIDs for static and dynamic dashboards so they do not conflict across multiple Gloo environments #9022

Closed
edubonifs opened this issue Dec 28, 2023 · 8 comments
Assignees
Labels
daily-update Issues that require a daily update release/1.15 Type: Enhancement New feature or request zendesk

Comments

@edubonifs
Copy link

Gloo Edge Product

Enterprise

Gloo Edge Version

1.15.x

Is your feature request related to a problem? Please describe.

One of our customers is asking to provide them the ability to provide unique UIDs for the static dashboards and dynamic dashboards, so they do not conflict across multiple Gloo environments

Ideally it is a helm override, for instance dashboard prefix (for instance: dev). The dashboard prefix is then used as prefix to static and dynamic dashboards.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional Context

No response

@edubonifs edubonifs added the Type: Enhancement New feature or request label Dec 28, 2023
@kcbabo
Copy link
Contributor

kcbabo commented Dec 28, 2023

Related: #6536

@kcbabo
Copy link
Contributor

kcbabo commented Dec 28, 2023

#9016 and #9022 need to be tackled together to solve the overall problem.

@soloio-bot
Copy link

Zendesk ticket #3039 has been linked to this issue.

@davidjumani
Copy link
Contributor

Have discussed with @edubonifs and decided that the prefix will apply to the title of the dashboard as well

@nfuden nfuden added the daily-update Issues that require a daily update label Jan 8, 2024
@davidjumani
Copy link
Contributor

Discussing with @edubonifs and decided that any existing dashboards without the prefix or with a different prefix will need to be manually removed as doing so automatically can cause issues. Eg: If an environment with the dev- prefix has now been modified to stage- and a new environment has been added with the dev- prefix, there is a possibility that the dashboards created by the latter environment will be deleted due to the change in the prefix of former environment.

@davidjumani
Copy link
Contributor

Additional docs PR #9074

@nfuden
Copy link
Contributor

nfuden commented Jan 22, 2024

reopening for backports

@davidjumani
Copy link
Contributor

davidjumani commented Jan 23, 2024

This feature introduces a new observability option dashboardPrefix : Specifies a prefix for the UID and title of all Dashboards managed by edge. This is restricted to 20 characters to allow for the 40 character UID limit of grafana (prefix + generated uid per upstream)

gloo:
  settings:
    observabilityOptions:
      grafanaIntegration:
        dashboardPrefix: "gwp-"
Screenshot 2024-01-17 at 9 53 50 AM

This will be in v1.17.0-beta1, v1.16.1 and v1.15.12 when released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
daily-update Issues that require a daily update release/1.15 Type: Enhancement New feature or request zendesk
Projects
None yet
Development

No branches or pull requests

5 participants