-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Configuration validation #329
Comments
Hey! I agree this would be nice, but it could be pretty difficult to implement generally. For example, there's not a standard remote_write URL that can be used to validate credentials. Other validations might only be possible to check at runtime, such as if your What types of validations are you interested in specifically? |
(Wow fast response!) The reason I thought of this is that I got an "unmarshall" error for my yaml (I think it was the server http_listen_port setting) because I used a |
Ahh, I see now. We can totally do this! Would you care if it's a part of (FWIW, today, |
Both would make sense. We actually build/package the agent from source and include the |
Perform basic YAML and type checking for an Agent configuration file and exit with `1` if there any errors loading, parsing, or validating the file. Fixes #329
Perform basic YAML and type checking for an Agent configuration file and exit with `1` if there any errors loading, parsing, or validating the file. Fixes #329
Perform basic YAML and type checking for an Agent configuration file and exit with `1` if there are any errors loading, parsing, or validating the file. Fixes #329
* Configuration file validation subcommand for agentctl Perform basic YAML and type checking for an Agent configuration file and exit with `1` if there are any errors loading, parsing, or validating the file. Fixes #329 * CR feedback
* Configuration file validation subcommand for agentctl Perform basic YAML and type checking for an Agent configuration file and exit with `1` if there are any errors loading, parsing, or validating the file. Fixes #329 * CR feedback
Hi, it would be great if the agent could load and validate its configuration without actually starting. This would enable a static check of the configuration before deployment.
The text was updated successfully, but these errors were encountered: