Problem with Prometheus in Sametime monitoring dashboard

I set up the monitoring dashboard in Sametime, using the provided JSON files; in case you don’t know how to do that, you enable it running this command docker-compose -f docker-compose.yml -f docker-compose-monitoring.yml up -d https://help.hcltechsw.com/sametime/1201/admin/Managing_dashboard.html Today I discovered that my Prometheus container kept crashing, and in the logs I found lines like these
This is a companion discussion topic for the original entry at https://www.robertoboccadoro.com/2023/02/08/problem-with-prometheus-in-sametime-monitoring-dashboard/