URL Pinger is a simple python application that "pings" a list of endpoints and checks the response time and status code. Refer to our docs folder for more inforamtion.
URL Pinger is deployed using dex. To get started with development, follow the steps below:
-
Clone the repository
-
Install the required dependencies for local development
# if you have poetry installed poetry install # if you don't have poetry installed pip install -r requirements.txt
-
Run the application
# if you have poetry installed poetry run python urlpinger/main.py # if you don't have poetry installed python urlpinger/main.py
Of course if you have dex installed (which you should), you can also run the application using it:
# locally with docker
dx run
# in kubernetes
dx run -k
dx destroy --force # when you're done
# run tests (needs more tests)
dx test unit