-
Notifications
You must be signed in to change notification settings - Fork 402
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
chore(docs): include the environment variables section in the utilities documentation #2925
chore(docs): include the environment variables section in the utilities documentation #2925
Conversation
Clarifies Tracer's documentation page by including its related environment variables.
Clarifies Logger's documentation page by including its related environment variables.
Clarifies Metrics' documentation page by including its related environment variables.
Clarifies middleware factory's documentation page by including its related environment variables.
Clarifies parameters utility's documentation page by including its related environment variables.
Thanks for sending this PR @barreeeiroo!! Hei @heitorlessa! Since I don't have the context here, I'd like your review or we can sync tomorrow and I can review. |
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.
Hello @barreeeiroo! I made a couple of small comments and after that I think we're ready to merge!
Thank you very much.
It should be the last one under Getting Started and right before Advanced.
As basic configuration mentions a few environment variables, it may be useful to provide a link to all the other available ones.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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.
Fantastic work @barreeeiroo! This will make it easier for our customers to find environment variables that can be used in each utility.
Issue number: #2923
Supersedes: #2922
Summary
Clarifies some documentation pages by including their related environment variables. They were only included on the main page, though it may be useful to also mention them on their corresponding page.
Changes
For each page, a new Environment variables section was created under Getting started right before Advanced. This section contains a table listing all environment variables affecting that page. It also mentions the preference order (parameter overrides environment variable).
User experience
When navigating through documentation, developers will now find the environment variables for each core/utility on its page. It is useful as it allows us to quickly understand the behaviour of these environment variables by Ctrl+F'ing them.
This comes from personal experience, as I found out about Tracer's environment variables by checking the parameters of Tracer decorators' source code. But when going to Tracer's documentation page, I couldn't find these environment variables, until I realized they were only in the main page.
Checklist
If your change doesn't seem to apply, please leave them unchecked.
Is this a breaking change?
No.
Checklist:
Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.