That is not part of prometheus. Where did /opt/prom-registry/scripts/update.php come from? That's what's doing it. But I can't find any "prom-registry" PHP code on github or via a google search. Perhaps you obtained Prometheus as part of a third-party application or bundle?
On Sunday 1 September 2024 at 21:46:39 UTC+1 Vincent Romero wrote: > The prometheus.yml file is rewritten when editing any changes > > At the beginning of the file you will find the following lines > > # THE FILE prometheus.yml IS GENERATED AUTOMATICALLY > # To make changes do this: > # 1) Edit the prometheus.yml.template file > # 2) Run > # sudo php -f /opt/prom-registry/scripts/update.php force > > > > How i can disable this? > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/412d6f61-d153-4a1f-95ca-80c8fdf8426dn%40googlegroups.com.

