Open alexanderldavis opened 8 months ago
Hello, thanks for the report! We are looking into this and will follow up with our findings.
Thanks for your contribution!
This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community.
If you would like this issue to remain open:
Verify that you can still reproduce the issue in the latest version of this project.
Comment that the issue is still reproducible and include updated details requested in the issue template.
Describe the bug
getSLOHistory
fails to retrieve SLO History for time-slice SLOs, with the following error:Only SLOs of type time-slice are affected.
To Reproduce Steps to reproduce the behavior:
We followed the most minimal example from the SLO API documentation:
Expected behavior
apiInstance.getSLOHistory()
should return an object of type SLOHistoryResponse.This currently works for all SLOs in our environment except SLOs of type time-slice. This remains true even if we remove the
.target()
and.applyCorrection
optional parameters from the query.Environment and Versions (please complete the following information): A clear and precise description of your setup: