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!
-
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.@girish Pefect. As always, thank you for the quick response!
-
N nebulon marked this topic as a question on
-
N nebulon has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login