monitor_metrics.sh only updates p4_licenses.prom and p4_filesys.prom every 60 minutes. Some users of P4Prometheus have alertmanager configurations that warn when files read by node_exporter are not updated frequently enough. The configurations may alert on updates less than every 60 minutes and are shared by more than p4prometheus. To tolerate these cases, monitor_metrics.sh should allow this update time to be configurable.
monitor_metrics.shonly updatesp4_licenses.promandp4_filesys.promevery 60 minutes. Some users of P4Prometheus havealertmanagerconfigurations that warn when files read bynode_exporterare not updated frequently enough. The configurations may alert on updates less than every 60 minutes and are shared by more than p4prometheus. To tolerate these cases,monitor_metrics.shshould allow this update time to be configurable.