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

Healthchecks in API missing #188

Open
trappen-tgmg opened this issue Nov 14, 2017 · 1 comment
Open

Healthchecks in API missing #188

trappen-tgmg opened this issue Nov 14, 2017 · 1 comment

Comments

@trappen-tgmg
Copy link

Hello,

healthchecks as documented in https://www.amon.cx/docs/api/ are missing and return 404 when queried.

ubuntu@mymachine:~$ curl https://my-amon-instance.com/api/v1/healthchecks/list/?api_key=abc123
<h1>Not Found</h1><p>The requested URL /api/v1/healthchecks/list/ was not found on this server.</p>

I noticed the views are there, but there are no entries in urls.py yet, so this is hopefully a small fix.

@martinrusev
Copy link
Member

@trappen-tgmg The API endpoints are there, but they are not fully functional yet. There was a Health Checks refactoring when Amon 6.0 was released. In 6+ health checks store the full history of the check, 5 was just the last known state.

Working on the Health Checks is in my short term priority list, the API will be updated accordingly

https://github.com/amonapp/amon/blob/master/ROADMAP.md

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