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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址