Prometheus.yml file does not appear to work and other config is read-only
-
Hi, Cloudron community!
Hope you can help.
I am attempting to update my prometheus.yml file in /app/data/config, however the changes to not seem to be working. I noticed that there is another prometheus.yml in /app/code, however this one is read-only. I gather from this topic that the /app/data/config version is the one to go with, but I am surprised that the one in /app/code does not update after reboot.I also tried editing /app/code/prometheus.yml directly in Recovery mode, only to have the changes there wiped out after app restart.
Is there somewhere else I should be making these changes, or is /app/data/config the correct one and I'm barking up the wrong tree assuming this is the source of my issues?
Background if anyone needs it: I have installed node_exporter on my host VPS and am attempting to add the following to scrape_config:
- job_name: "node" static_configs: - targets: ["localhost:9100"]
Thanks!
-
@lcd_official your yaml changes, you have to change
/app/data/config/prometheus.yml
. Use the filemanager to edit the file. -
Added this info in https://docs.cloudron.io/apps/prometheus/#custom-config
-
-