-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
promtail documentation: changing the headers of the configuration docu to reflect configuration code #2636
Conversation
The configuration documentation of promtails contains some errors where the headers of the sections don't match the actual configs. Notably configuration keys like 'server' and 'clients' have been mislabeled as 'server_config' and 'client_config'. This merge request is aimed to correct that so that it matches the configuration as in the written config files to avoid confusion.
Codecov Report
@@ Coverage Diff @@
## master #2636 +/- ##
==========================================
- Coverage 62.87% 61.45% -1.43%
==========================================
Files 170 170
Lines 15051 13172 -1879
==========================================
- Hits 9464 8095 -1369
+ Misses 4827 4336 -491
+ Partials 760 741 -19
|
hey @LTek-online thanks for the PR! I think these names were intentional although I have found myself confused at times too. I will look at this a little closer tomorrow or early next week, but I think this might have been done this way to be consistent with cortex and prometheus documentation. |
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Hi, could someone please look over this merge request? |
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Go away, stalebot! We're working here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, does this need review from a developer as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for taking so long to review this. I really appreciate the simplification here. Many of these names referenced their internal source code names before, but I think documentation should use the naming conventions users will see, which you've done.
Yeah let's merge this, regardless of the initial reason I much prefer having the sections match the actual config object names. @LTek-online would you be willing to do this same review for the Loki config documentation? ❤️ |
Thanks, for approving. |
What this PR does / why we need it:
Greetings,
The configuration documentation of promtails contains some errors where the headers of the sections don't match the actual config.
Notably configuration keys like 'server' and 'clients' have been mislabeled as 'server_config' and 'client_config'.
This pull request is aimed to correct that so that it matches the configuration as in the written config yaml files to avoid confusion.
I would propose to change the following sections to the following new names:
Thanks
Special notes for your reviewer:
Checklist