mozmeao / snippets-service

Service powering snippets on Firefox's about:home.
https://snippets.mozilla.com
Mozilla Public License 2.0
31 stars 36 forks source link

Proposal: build lightweight dashboard of jobs performance into Admin #1207

Open jgmize opened 5 years ago

jgmize commented 5 years ago

An approach similar to https://medium.com/@hakibenita/how-to-turn-django-admin-into-a-lightweight-dashboard-a0e0bbf609ad could be viable if we decided to store more granular performance summary data for each job instead of just the totals.

jgmize commented 5 years ago

Alternatively, we could potentially link to grafana dashboards using the same postgres storage

glogiotatidis commented 4 years ago

I'm strongly for building metrics outside the Django App -and especially the Admin- for a few of reasons:

On the other hand building outside the Django App will allow us to leverage existing projects (like Grafana or similar) and will make iterating and answering questions faster. Building a new Dashboard in Grafana will be quicker than html /css coding, reviewing and pushing to dev, staging, production.

I understand that building something with Python in Django is our comfort zone atm but this is also a good opportunity to explore new things.

This is an ongoing discussion, I'm just capturing here what we've already discussed with jgmize

jgmize commented 4 years ago

How about we start with private jupyter notebooks?

glogiotatidis commented 4 years ago

Looks interesting. I've no experience with jupyter notebooks, let's try this out.