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

Add a report to show hours oncall per person for a given time range #1304

Closed
grafana-dee opened this issue Feb 7, 2023 · 3 comments
Closed
Labels
feature request New feature or request part:schedules

Comments

@grafana-dee
Copy link

When you have an active on-call schedule it is inevitable that some people will be on-call more than others once you factor in overrides for vacations, sick leave and other circumstances.

The question is: How should a team ensure that the total amount of time spent on-call is fair?

i.e. Person A, B, and C share a schedule, and C is unable to do their shift and A covers them. A has now done more on-call hours than C. If B is unable to do their shift, there should (at the minimum) be data that allows us to see that C has done the fewest on-call hours and should be the one to provide cover for B - and that A has done the most hours and shouldn't be asked.

A team's definition of the time period in which they did on-call will vary by company, culture, and may be relative to financial year or calendar year, etc. So the time period to run such a report should be configurable and user-selectable, but a reasonable default may be "last 3 months".

@Matvey-Kuk
Copy link
Contributor

I think it's related to #116

@Matvey-Kuk Matvey-Kuk added feature request New feature or request part:schedules labels Feb 8, 2023
@matiasb
Copy link
Contributor

matiasb commented Jun 16, 2023

Although not available built-in, note we have released a new API endpoint exporting final schedule shifts, and there is an example script in our docs calculating something similar:

https://grafana.com/docs/grafana-cloud/oncall/oncall-api-reference/schedules/#example-script-to-transform-data-to-csv-for-all-of-your-schedules

@joeyorlando
Copy link
Contributor

going to close as a duplicate of https://github.com/grafana/irm/issues/1194

@joeyorlando joeyorlando closed this as not planned Won't fix, can't repro, duplicate, stale Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request part:schedules
Projects
None yet
Development

No branches or pull requests

5 participants