-
Notifications
You must be signed in to change notification settings - Fork 306
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
DowntimesApi: canceled downtime still visible in response of list_downtimes() #757
Labels
kind/bug
Bug related issue
Comments
Hi, In datadog-api-client, if you pass |
Hi Thomas,
So current_only=False returns ALL downtimes, even disabled/deleted ones?
current_only=True does not return downtimes in the future, just current,
active downtimes, right?
Is there a chance to see all downtimes which are either active or in the
future?
Thanks in advance.
BR
Markus
…On Mon, Feb 20, 2023 at 3:00 PM Thomas Hervé ***@***.***> wrote:
Hi,
In datadog-api-client, if you pass current_only=True you won't get
soft-deleted downtimes returned:
https://datadog-api-client.readthedocs.io/en/latest/datadog_api_client.v1.api.html#datadog_api_client.v1.api.downtimes_api.DowntimesApi.list_downtimes.
Can you check if that works for you? Thanks.
—
Reply to this email directly, view it on GitHub
<#757 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASOG4ONHM5XC5ZK4D3NLOSLWYN2HFANCNFSM6AAAAAAVB4YH5Q>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
CTO Sipfront GmbH
e: ***@***.*** Kraelitzgasse 6
t: +43 650 92 12 782 1130 Vienna, Austria
w: www.sipfront.com FN: 542495 m, FG: HG Wien
|
Got it, disabled flag is set to true.
How long will these disabled Downtimes linger around?
thanks and BR
Markus
…On Mon, Feb 20, 2023 at 3:12 PM Markus Seidl ***@***.***> wrote:
Hi Thomas,
So current_only=False returns ALL downtimes, even disabled/deleted ones?
current_only=True does not return downtimes in the future, just current,
active downtimes, right?
Is there a chance to see all downtimes which are either active or in the
future?
Thanks in advance.
BR
Markus
On Mon, Feb 20, 2023 at 3:00 PM Thomas Hervé ***@***.***>
wrote:
> Hi,
>
> In datadog-api-client, if you pass current_only=True you won't get
> soft-deleted downtimes returned:
> https://datadog-api-client.readthedocs.io/en/latest/datadog_api_client.v1.api.html#datadog_api_client.v1.api.downtimes_api.DowntimesApi.list_downtimes.
> Can you check if that works for you? Thanks.
>
> —
> Reply to this email directly, view it on GitHub
> <#757 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ASOG4ONHM5XC5ZK4D3NLOSLWYN2HFANCNFSM6AAAAAAVB4YH5Q>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
--
CTO Sipfront GmbH
e: ***@***.*** Kraelitzgasse 6
t: +43 650 92 12 782 1130 Vienna, Austria
w: www.sipfront.com FN: 542495 m, FG: HG Wien
--
CTO Sipfront GmbH
e: ***@***.*** Kraelitzgasse 6
t: +43 650 92 12 782 1130 Vienna, Austria
w: www.sipfront.com FN: 542495 m, FG: HG Wien
|
Sorry I don't know. Can you contact support? Thank you. |
Alright. Thank you. Everything is ok.
I got my answers.
BR
Markus
Thomas Hervé ***@***.***> schrieb am Mi., 22. Feb. 2023,
21:26:
… Sorry I don't know. Can you contact support? Thank you.
—
Reply to this email directly, view it on GitHub
<#757 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASOG4OO4MMGD5POQNSBQFXLWYZY7ZANCNFSM6AAAAAAVB4YH5Q>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I created a downtime manually, to test DowntimesAPI.
list_downtimes works fine, however, after cancel_downtime(id), response is empty and the downtime is still visible when calling list_downtimes(), but not shown on the UI/Webpage.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
After calling cancel_downtime(id), list_downtimes() should NOT show the canceled downtime.
The text was updated successfully, but these errors were encountered: