- fixed
FOREMAN_REQUEST_TLS_VERIFY
handling
- better
json
handling - switch to
httpx
- application no longer raises system exception when request fails
- switch to python 3.11
- removed requirements on distutils
- fixed main loop logic
- preparation to logging
- added request for
/api/status
to read foreman's version - in case of foreman's version higher than
2.2.0
pagination counter set toall
instead of fake number - separation of classes to fit
Pylance
andPylint
tests - more verbose logs
- fixed
REQUEST_HOSTS
being empty
- disabled exposing passwords in logs
- image built with latest python
- Dockerfile validation with
hadolint
- fixed pagination limits (default API and GUI limit) for requests
- reworked k8s example
- added k8s example with service-monitor
- added /api/dashboards to gauges
- added gauges
foreman_exporter_dashboard_total_hosts
foreman_exporter_dashboard_bad_hosts
foreman_exporter_dashboard_bad_hosts_enabled
foreman_exporter_dashboard_active_hosts
foreman_exporter_dashboard_active_hosts_ok
foreman_exporter_dashboard_active_hosts_ok_enabled
foreman_exporter_dashboard_ok_hosts
foreman_exporter_dashboard_ok_hosts_enabled
foreman_exporter_dashboard_disabled_hosts
foreman_exporter_dashboard_pending_hosts
foreman_exporter_dashboard_pending_hosts_enabled
foreman_exporter_dashboard_out_of_sync_hosts
foreman_exporter_dashboard_out_of_sync_hosts_enabled
foreman_exporter_dashboard_good_hosts
foreman_exporter_dashboard_good_hosts_enabled
foreman_exporter_dashboard_percentage
foreman_exporter_dashboard_reports_missing
foreman_exporter_dashboard_request_time_seconds
- rename
environment
label from hosts topuppet_environment
) - changed
sleep
main loop into threading
- improved raise exception
- updated README.md
- print formatting
- added Kubernetes usage example
- updated README.md
- fixed clearing
body
variable in loop - suppressed warnings when connecting to selfsigned page
- enabled stdout in dockerised app
- fixed global=>local variables assignement
- pylint applied
- TZ environment variable added to Dockerfile
- fixed
TypeError: 'NoneType' object is not subscriptable
inbody.total
check - added healtchecks to Dockerfile
- Initial commit