Skip to content
New issue

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

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

Already on GitHub? # to your account

Scripting grafana dashboards #11

Open
jennydaman opened this issue Oct 14, 2022 · 10 comments
Open

Scripting grafana dashboards #11

jennydaman opened this issue Oct 14, 2022 · 10 comments
Assignees
Labels
good first issue Good for newcomers observability Tasks related to monitoring and observability of CUBE.

Comments

@jennydaman
Copy link
Collaborator

Create some interesting visualizations of ChRIS data e.g.

image

Figure out how to automatically add these dashboards to Grafana when the project is brought up by docker compose up -d (or as a docker compose run command fired by ./minichris.sh

@jennydaman jennydaman added good first issue Good for newcomers observability Tasks related to monitoring and observability of CUBE. labels Oct 14, 2022
@sakshi1215
Copy link

Can you assign this to me @jennydaman ?

@ifykendu
Copy link

please i want to work on this project

@kibablu
Copy link

kibablu commented Oct 26, 2022

@sakshi1215 were you able to get grafana up and running?

@sakshi1215
Copy link

@sakshi1215 were you able to get grafana up and running?

Yes, it was working well for me

@MdSahil-oss
Copy link

@jennydaman I would like to work on it. Can you assign it to me ?

@jennydaman jennydaman assigned MdSahil-oss and unassigned sakshi1215 Feb 26, 2023
@jennydaman
Copy link
Collaborator Author

Sure. Some work in a related issue was done in #15, this could be helpful.

@MdSahil-oss
Copy link

@jennydaman Can you give me a brief summary of all chris's data you want to be visualized by grafana ?

@jennydaman
Copy link
Collaborator Author

@MdSahil-oss some examples of useful visualizations would be as in the above screenshot:

  • most popular plugins of all time
  • plugin instances created per week, showing what state they're in (e.g. finishedSuccessfully, finishedWithError, cancelled)...

Imagination is the limit when it comes to what visualizations could be useful but I think having these two default visualizations will be good. Later we'll also want to add visualizations from cAdvisor+prometheus

@MdSahil-oss
Copy link

@jennydaman can you tell in which table of chris_db dock_image column exist, I tried to find it, but failed.

@jennydaman
Copy link
Collaborator Author

SELECT dock_image FROM plugins_plugin;

Join example:

SELECT plugins_plugin.id, plugins_pluginmeta.name, plugins_plugin.dock_image
FROM plugins_plugin
INNER JOIN plugins_pluginmeta ON plugins_plugin.meta_id = plugins_pluginmeta.id;

The relationship between pluginmeta --> plugin is [1, N)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
good first issue Good for newcomers observability Tasks related to monitoring and observability of CUBE.
Projects
None yet
Development

No branches or pull requests

5 participants