Replies: 2 comments
-
To be honest, if the size of the configuration becomes so large that you need to split it in different files, you'll run into other issues anyways, so you might as well have a different dashboard for each file 😅 I do want to add support for paging, after which a change like this would make more sense, but at the moment, merging conflicts between multiple config files is something I'd like to avoid, as it makes it unnecessarily more complex for developers to navigate through the configuration. |
Beta Was this translation helpful? Give feedback.
-
This has been implemented some time ago, see As of this message, this is the relevant documentation:
|
Beta Was this translation helpful? Give feedback.
-
For a large system having a lot of endpoints can quickly become large and hard to maintain. If we can split those into parts, i.e. "commons.yml" for the general configuration and a bunch of "systemN.yml" configs, this could help greatly to navigate and maintain endpoints.
Technically it will need to accept the configuration directory in addition to the configuration file. To simplify things it can combine all the files prior to parsing/validation internally, so from gatus point of view it will stay a single "file"
The part about live reload probably needs some change as well to trigger not on a single file but on any file in the configuration directory
Beta Was this translation helpful? Give feedback.
All reactions