Setting up Statping - prabhav-thali/articles GitHub Wiki
Statping
An open-source server to monitor your web applications and all other HTTP, TCP, UDP, ICMP, and gRPC services. Setup your own Statping docker instance to monitor any type of online service.
Create container using below command:
docker run -it -p 8080:8080 statping/statping
Simple steps to be performed on the dashboard
- hit the URL http://localhost:8080
- Navigate to Dashboard at the end of the page.
- Login with admin/admin
- Go to setting and generate secret.
- Add the same as a bearer token in Prometheus config.
Add the following to prometheus.yml
- job_name: statping
bearer_token: <secret generated in above step>
static_configs:
- targets:
- host.docker.internal:8080
Note : Restart Prometheus container such that the above changes are considered.
Adding a service:
- Go to service and click on create
- Add all the details and check for logs