L.7.1 Concept
For monitoring, Swyx HealthMonitor provides the "Prometheus Exporter" interface. The Prometheus Exporter provides the "health status" of Swyx as determined by the HealthMonitor, as well as some other parameters, such as the response times of individual checks.
Prometheus queries the Prometheus Exporter at regular intervals, e.g. every 10 seconds, and stores the delivered metrics in a time series database. You can configure the query time.
In order to be able to include other data in the Prometheus database, such as the Windows Performance Counter of Swyx, you can use another open source component "sonar-perfmon": https://www.infragravity.com/knowledge-base/sonar-023-install-windows-host/. This is also a Prometheus Exporter.
With Grafana, you can query the data stored in the time series database and visualize it on the dashboard:
If you are already using another monitoring system instead of Prometheus, you can also use this if it can query Prometheus Exporter. Zabbix also supports the Prometheus interface: https://www.zabbix.com/documentation/4.4/manual/config/items/itemtypes/prometheus