-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[receiver/hostmetrics] Add documentation for mute_*_error configuration fields #32494
[receiver/hostmetrics] Add documentation for mute_*_error configuration fields #32494
Conversation
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.
Hi @bsponge, thanks for opening a PR for this!
Unfortunately, the documentation can't be added where you have it here; note at the top of that file that it mentions it is autogenerated and thus shouldn't be edited.
What I'd suggest instead is adding it to the README.md
in the root hostmetricsreceiver
folder. In there, you'll see a section that shows the configuration options for every scraper. This can definitely be improved, but for now if you could add those descriptions directly below the yaml
example that would be good for now.
The rest of the PR looks good to me.
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.
Thanks, looks good to me! Will still need approval from dmitryax before merge.
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.
Thanks for your PR, always appreciate documentation enhancements!
Hope you don't mind, I updated your PR description to automatically close the linked issue 👍 |
Co-authored-by: Curtis Robert <[email protected]>
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
unstale |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
Could we reopen this PR? This is still important documentation we should have in the |
Added |
@crobert-1 Maybe you'll know the answer to this. I'm not sure if as a codeowner in |
It's nothing wrong on your side, the green check mark is reserved for approvers and maintainers of the project, unrelated to code owners. Code owners are automatically added as reviewers on PRs, and we can also manually check the I see you also requested a review from @dmitryax, but given this is only a documentation change, I assume we're good to merge. Is that accurate, or would you still prefer a review? |
Thanks for the clarification; I was used to other repos where approvals from CODEOWNERS were green check so I wasn't sure. I thought merging would be blocked by Dmitrii's review; if it wouldn't be, then I imagine this is fine to merge. |
One code owner approval is just fine by default, especially for something simple like this that's only documentation. That being said, if you're ever unsure about a change or want specific feedback from another code owner we can definitely block and ask for more input 👍 |
Description:
Added documentation for mute_*_error configuration fields and updated comments in the code.
Link to tracking Issue:
Resolves #30779
Testing: not applicable
Documentation: Added missing documentation of mute_*_error configuration in hostmetricsreceiver