Update: If you want to do this securely, see this video: • Secure PROMETHEUS + JSON
This video demonstrates, with a hands on tutorial, how to use Prometheus to monitor any JSON endpoint using the Prometheus json_exporter. Once you know this, you can scrape and monitor any JSON API endpoint easily in Prometheus
Git repo in pinned comment.
Timestamps
00:00 Hello
00:20 Architecture
01:23 Hands On
01:57 Start JSON Web Server
02:28 Download json_exporter
02:52 json_exporter configuration
04:13 Start json_exporter
05:19 prometheus configuration
07:06 start prometheus
07:49 update JSON value
08:21 summary