You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, let me say that the choice of Prometheus is arbitrary and only based on the fact that I have heard of it before and
seen it used in other software I use.
Thus, the choice of Progmeheus should be evaluated before implementing this proposal.
Currently, there are two types of server usage statistics on the /system_health endpoint.
CPU usage, disk space, distribution, python version, and FACT version.
The lengths of queues below for the individual plugins.
The first one can trivially be replaced by Prometheus.
Displaying distribution and python version is not needed imo, but is definitely possible (but not in the demo link).
The second one is a bit more involved but can also be done by writing a Prometheus client library.
Further, I would argue that both statistics should not be exposed to the user but rather only to the admin hosting FACT.
Removing them would trivially solve this.
First, let me say that the choice of Prometheus is arbitrary and only based on the fact that I have heard of it before and
seen it used in other software I use.
Thus, the choice of Progmeheus should be evaluated before implementing this proposal.
Currently, there are two types of server usage statistics on the
/system_health
endpoint.The first one can trivially be replaced by Prometheus.
Displaying distribution and python version is not needed imo, but is definitely possible (but not in the demo link).
The second one is a bit more involved but can also be done by writing a Prometheus client library.
Further, I would argue that both statistics should not be exposed to the user but rather only to the admin hosting FACT.
Removing them would trivially solve this.
Closes: fkie-cad/FACT_docker#45
Related: #991
The text was updated successfully, but these errors were encountered: