elasticstack_kibana_slo
time_window
> duration
docs suggest any duration can be used
#732
Labels
bug
Something isn't working
Describe the bug
On the docs for the
elasticstack_kibana_slo
resource, undertime_window
>duration
it suggests any duration can be used above1d
:"Any duration greater than 1 day can be used: days, weeks, months, quarters, years."
However, this is not the case. As mentioned in this section of the technical documentation, only values of
7d
,30d
and90d
can be used for therolling
time_window type.Using any value other than the 3 specified above causes a 400 bad request.
To Reproduce
Steps to reproduce the behavior:
elasticstack_kibana_slo
resource where thetime_window
>duration
value is set to anything other than7d
,30d
and90d
.Expected behavior
Either to add this functionality or to update the docs to be more clear about what values can be used so we don't have to dig through the repo for this information.
Debug output
I can't provide TRACE level debug as this is running on our build agents but here is the 400 error we see in the pipeline:
Screenshots
NA
Versions (please complete the following information):
Additional context
This is less about a bug and more about updating the docs to be clear. We are using
30d
for the time being which works fine.The text was updated successfully, but these errors were encountered: