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

Support multiple Grafana Instances #11

Open
satrox28 opened this issue Oct 20, 2021 · 13 comments
Open

Support multiple Grafana Instances #11

satrox28 opened this issue Oct 20, 2021 · 13 comments
Labels
enhancement New feature or request

Comments

@satrox28
Copy link

satrox28 commented Oct 20, 2021

Hi,
Thanks for the plugin, its awesome :).

Is there a way to configure multiple Grafana Instance on the app-config.yaml?.

@K-Phoen K-Phoen added the enhancement New feature or request label Nov 6, 2021
@K-Phoen
Copy link
Owner

K-Phoen commented Nov 6, 2021

Hey,

Nope, not at the moment. It's definitely a feature that I'm interested in though :)

Glad this little plugin can help!

@blakeromano-il
Copy link

I am going to plus one this feature! 👍 We have several Grafana instances it would be great to have all of them available in Backstage!

@K-Phoen
Copy link
Owner

K-Phoen commented Mar 5, 2022

Any ideas/suggestions as to how you would like it to work?

@blakeromano-il
Copy link

I would do something similar to the kubernetes plugin where the app-config.yaml supports an array of variables, then based when getting the dashboards for an entity in the catalog-info.yaml you could specify instance-name and if there isn't one in the annotation but there is a grafana/tag-selector you assume it is the first instance.

@iimnd
Copy link

iimnd commented Mar 15, 2022

hopefully this feature available soon, but thanks @K-Phoen , you're awesome

@betorvs
Copy link

betorvs commented Mar 24, 2022

thanks for this plugin @K-Phoen . Maybe a simple adjust similar to ArgoCD plugin and you just add multiples proxies and change kubernetes annotations. Just an idea.

@mrooding
Copy link

mrooding commented Jul 6, 2022

Hi @K-Phoen, this would be very useful. Can you use some help with the changes? Looking at your codebase, it should be quite trivial to extend but I'd like to hear what you had in mind in terms of the implementation

@chrissi517
Copy link

For us it would be also very importent to have the support of multiple instances.

@Vity01
Copy link

Vity01 commented Jul 20, 2023

I am working on the PR solving this. Coming soon!

@Vity01
Copy link

Vity01 commented Jul 21, 2023

Since @K-Phoen does not respond at all, does it make a sense to fork this project completely? I also adopted several PRs and other ideas.

@dweber019
Copy link
Contributor

I currently downloaded the source and changed it to support this as we have a similar requirement.
It's supported with multiple proxies like https://github.com/RoadieHQ/roadie-backstage-plugins/tree/main/plugins/frontend/backstage-plugin-prometheus.

Would be nice to see this here, as I think it's a awesome plugin. If there is no movement on this repo I have to probably open source my own version...

@Vity01
Copy link

Vity01 commented Sep 18, 2023

@dweber019 @mrooding @chrissi517
Here is my solution for this problem #76 , include updated documentation, config validation + my solution is backwards compatible.
I think it will be necessary to fork this project soon...

@dtemir
Copy link

dtemir commented Sep 21, 2023

+1 this one. in my org, we have hundreds of Grafanas and setting up proxy for each of them is impossible.

We think the scalable solution should be:

  • Every Grafana should be registered as Resource entity in Backstage catalog with the appropriate link (we have a provider to fetch those from internal resource that spins up AWS ECS Grafanas for teams)
  • The Resource entity should be linked to System entity with dependsOn (this is how teams will say "Hey this is my Grafana")
  • The plugin should somehow use the currently logged in users Okta credentials to make API calls instead of Backstage maintainers keeping track of all the Service Tokens. This is partially brought up by Is it possible to support jwt auth for embedding graphs? #74

@Vity01 what do you think?

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

10 participants