instances defined in config.yaml do not load into ui tool at :8090 and prevent adding instances through the UI #696
Replies: 2 comments 5 replies
-
Hello. According to the manual:
That means one cannot use YAML config file and Postgres config database simultaneously. Since web UI is a frontend for a config database there is no possibility to use it as well. The straightforward solution might be to update YAML configuration manually and force pgwatch2 to reread it. |
Beta Was this translation helpful? Give feedback.
-
OK so I think there is no out-the-box option for using yaml files and having a ready-made metrics db. According to docs: cybertec/pgwatch2-daemon If I am understanding this correctly, t would be great to have a yaml/metrics db option too! |
Beta Was this translation helpful? Give feedback.
-
I am trying to load an instance using config.yaml. Not only does defining an instance with PW2_CONFIG not work, but it prevents me from manually entering and instance with the exact same details through the UI.
Summary:
These are my settings.
docker-compose.yml
i'm running these pg queries on the database after bootstrapping which enables monitoring only if I excluded PW2_CONFIG and I define my instance manually in the UI
config.yaml (based on this template - Ive tried to disable as much as possible)
Beta Was this translation helpful? Give feedback.
All reactions