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

get_incidents() method only return incidents from v2 detectors? #96

Open
davecampbell opened this issue Feb 17, 2020 · 3 comments
Open

Comments

@davecampbell
Copy link

using the api directly, the /incidents endpoint returns incidents from detectors that were created in the UI, but that doesn't appear to be the case with the get_incidents() method of the rest client.

can that be confirmed?

i'm trying to do some reporting against incidents for an SLA / Uptime report and i'm getting some different behaviors from those 2 seemingly identical functions.

thanks!

@davecampbell
Copy link
Author

hello?

@davecampbell
Copy link
Author

anyone home?

@unsetbit
Copy link

@davecampbell please provide more details on the differences you're seeing so that we can debug accordingly.

resp = self._get(
is just making HTTP requests to the incidents endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants