-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
clients/pkg/promtail/client: add documentation about default values #10609
Comments
@JStickler , can probably add the default on the |
@vash-knives, the Promtail code is in the Loki repo -> https://github.com/grafana/loki/tree/main/clients/pkg/promtail |
@JStickler created a PR for it. Let me know if there are any issues / comments / concerns. This change does not address the "config-file-header" issue the OP mentioned. Will probably need a separate ticket for that as it's being pulled from a different directory ( |
…mtail client (grafana#10609) 10609 - Added default values for the limits config struct on the help docs of the Promtail client
I'm trying to modify an existing binary to send logs to Loki.
client.New
takes a number of arguments (max line size, etc) but does not indicate what the defaults are. Trying to read through the code to find them is a bit tough.promtail --help
does not report the default values or provide any guidance for line size, or streams.I can always think harder about this later, but for now I'm just trying to pick a reasonable set of defaults and would not like to think too hard about this.
One other thing, when you run
promtail --help
it says you are running some binary named "config-file-loader":The text was updated successfully, but these errors were encountered: