Skip to content

A collection of HTTP endpoints to monitor more complex resources.

Notifications You must be signed in to change notification settings

aleph-im/aleph-monitoring-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aleph.im Monitoring Proxy

A collection of HTTP endpoints to monitor more complex resources.

HTTP status codes are used to indicate the status of the monitored resource, the body is for informational purposes only.

The service exposes a Swagger UI at /docs and a Redoc UI at /redoc. Use it to explore the available endpoints.

Use with a tool such as Uptime Kuma.

Deployment

hatch run deployment:aleph program upload src monitoring_proxy:app

Update an existing deployment:

hatch run deployment:aleph program update $ITEM_HASH src

Development

pip install hatch
cd src
hatch run uvicorn monitoring_proxy:app --reload

Testing

Test the code quality using mypy, black, isort and ruff:

hatch run linting:all

Reformat the code using black, isort and ruff:

hatch run linting:fmt

Run the tests:

hatch run testing:cov .

Export the coverage in HTML:

hatch run testing:coverage html

About

A collection of HTTP endpoints to monitor more complex resources.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published