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

Add Datacenter/Environement flags #19

Open
heliapb opened this issue Feb 16, 2023 · 2 comments
Open

Add Datacenter/Environement flags #19

heliapb opened this issue Feb 16, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@heliapb
Copy link

heliapb commented Feb 16, 2023

Is your feature request related to a problem? Please describe.
Currently, if you have a repo that you use to centralize all your dashboards from multiple grafana datasources/environements/datacenters, there's now way to only create a dashboard in a specific environment or datacenter, since currently all dashboards will be created everywhere you run gitana.

This can be a problem for the case of some datasources, for example, azure monitor, since this datasource varies from DC to DC, and if you create a dash specif for one DC, will not work for another, but we cannot avoid this dashboard being created there.

A way to avoid this was to introduce a Datacenter/Environement flags. The idea was to take advantage of Grafana tags, to use them if needed, to add values for ENV/DC.

  "tags": [
    "dev",
    "we"
  ],

And then Gitana to be able to validate the tags in the dashboard before loading them into configmaps. If no flags provided to continue to create all dashboards.

Describe the solution you'd like
Be able to only to create specific dashboards in specific Datacenter/Environement

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@nicolastakashi nicolastakashi added the enhancement New feature or request label Feb 17, 2023
@nicolastakashi nicolastakashi self-assigned this Feb 17, 2023
@nicolastakashi
Copy link
Owner

Hey, @heliapb thanks for raising this issue.
So, let me check if I understood what you're proposing.

Basically, what you wish is a way to filter what dashboards Gitana should onboard.
Is that right?

@heliapb
Copy link
Author

heliapb commented Feb 17, 2023

Yup pretty much that, ideally with some kind of flag or multiple flags, my issue is currently for environment/DC, but maybe we can have flags receiving values that we can compare with tags, independent of the values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants