opensafely-core / job-server

A server for mediating jobs that can be run in an OpenSAFELY secure environment. q.v. job-runner
https://jobs.opensafely.org
Other
5 stars 11 forks source link

[Spike] Transfer a dashboard from job-server to Grafana #4454

Closed iaindillingham closed 3 months ago

iaindillingham commented 4 months ago

job-server has four dashboards that could be transferred to Grafana[^1] (i.e. https://dashboards.opensafely.org/). Following a quick poll,^2 it looks like they are used as follows:

For this spike, we should choose a dashboard to transfer to Grafana, and work with its users to establish that they can access Grafana and can use the dashboard effectively. We should time-box the development work to one or two days, with a short window for working with users.

Following this spike, if we choose to transfer all four dashboards, then we should write an ADR.

[^1]: The "Copiloting" dashboard in job-server isn't the same as the "Copilot dashboard" in Grafana.

Jongmassey commented 3 months ago

Copiloting dashboard

iaindillingham commented 3 months ago

Thanks for this, Jon. Couple of questions:

Jongmassey commented 3 months ago

Is it possible to replicate column-level sorting in the job-server dashboard?

I find that clicking on the column header in the panel sorts it - is that not working for you?

is it possible to replicate column-level filtering?

Yes - filtering on org and project now added :)

iaindillingham commented 3 months ago

Ah, I see! The arrow icon appears on the sorted column, not all columns. Thanks for pointing that out. And thanks for adding filters 👍🏻

Jongmassey commented 3 months ago

Implementation notes from this spike on some rough edges encountered:

This is why the "private repos" information is in a separate panel, not inlined into a field within the main panel.

Jongmassey commented 3 months ago

Copilot slack thread discussing this spike

Jongmassey commented 3 months ago

Slack reminder set for 6 months for #team-rex to follow up on usage of this.