promehtus.yml autogenerated

27 views
Skip to first unread message

Vincent Romero

unread,
Sep 1, 2024, 4:46:39 PM9/1/24
to Prometheus Users
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? 

Brian Candler

unread,
Sep 2, 2024, 2:39:53 AM9/2/24
to Prometheus Users
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?
Reply all
Reply to author
Forward
0 new messages