https://github.com/le0developer/go-instatus-ping-uploader
Upload your latency/loss to Instatus
https://github.com/le0developer/go-instatus-ping-uploader
Last synced: 8 months ago
JSON representation
Upload your latency/loss to Instatus
- Host: GitHub
- URL: https://github.com/le0developer/go-instatus-ping-uploader
- Owner: Le0Developer
- License: mit
- Created: 2024-02-07T09:39:41.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-09T16:27:23.000Z (over 2 years ago)
- Last Synced: 2024-11-17T13:39:00.764Z (over 1 year ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# instatus-ping-uploader
Simple script that pings 1.1.1.1 every second and pushes the max latency + packet loss to a instatus metric.
Currently running this on my Raspberry Pi to monitor the connection quality of my home network.
## Usage
Just build & run.
## Environment variables
- `API_TOKEN`: Your instatus API token
- `PAGE_ID`: Your page id
- `PING_METRIC_ID`: The metric ID of the ping/latency instatus component
- `LOSS_METRIC_ID`: The metric ID of the packet loss instatus component