Checking the doc here. It doesn't looks like it currently supports it.
My basic use case here are to query
"Give me next n on-call shifts that I'm part of" or
"Give me next n on-call shifts for a particular user of type primary"
I believe currently it's impossible to get this data easily. Only way I can know particular users' shift is to go over all the shifts over period of time.
Bonus: Would be great to expose it as prometheus metrics as well (not sure about cardinality though)
Checking the doc here. It doesn't looks like it currently supports it.
My basic use case here are to query
n
on-call shifts that I'm part of" orn
on-call shifts for a particular user of typeprimary
"I believe currently it's impossible to get this data easily. Only way I can know particular users' shift is to go over all the shifts over period of time.
Bonus: Would be great to expose it as
prometheus
metrics as well (not sure about cardinality though)