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 datasource #37

Merged
merged 6 commits into from
Apr 21, 2022

Conversation

GeorgianaElena
Copy link
Member

This PR adds support for having multiple datasources for the dashboards.
It also changes a bit how the dashboards are initially populated:

  • it always sets the selected datasource to be the first one in the list returned by the Grafana API
  • it always sets the selected hub to be the first one in the list of the datasource selected above

*Note: The defaults are to keep the dashboards auto-populated, because var["datasource"] stores the string "$PROMETHEUS_DS" and could not find a way to get the expanded value of the var.

@welcome
Copy link

welcome bot commented Apr 21, 2022

Thanks for submitting your first pull request! You are awesome! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@yuvipanda yuvipanda merged commit f63017a into jupyterhub:main Apr 21, 2022
@welcome
Copy link

welcome bot commented Apr 21, 2022

Congrats on your first merged pull request in this project! 🎉
congrats
Thank you for contributing, we are very proud of you! ❤️

@yuvipanda
Copy link
Collaborator

Yay, thanks @GeorgianaElena!!!

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

Successfully merging this pull request may close these issues.

2 participants