go-instatus-ping-uploader

command module
v0.0.0-...-95c6984 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 9 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL