-
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
[processor/resourcedetection] Produce docs based on metadata.yaml #34210
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Thanks for filing @ChrsMark! I ended up filing open-telemetry/opentelemetry-collector#10705 because I was a bit confused as to why there isn't a |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
…utes only (#11242) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This PR adds support for generating `documentation.md` files for components which only define resource attributes. This was reported at #10705 and also applies at open-telemetry/opentelemetry-collector-contrib#34210. <!-- Issue number if applicable --> #### Link to tracking issue Fixes #10705 <!--Describe what testing was performed and which tests were added.--> #### Testing Tuned tests and added a sample processor component which only defines resource attributes. <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.--> Signed-off-by: ChrsMark <[email protected]>
Since open-telemetry/opentelemetry-collector#10705 is completed we can proceed with tuning the processor's docs accordingly once the latest version of |
…utes only (open-telemetry#11242) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This PR adds support for generating `documentation.md` files for components which only define resource attributes. This was reported at open-telemetry#10705 and also applies at open-telemetry/opentelemetry-collector-contrib#34210. <!-- Issue number if applicable --> #### Link to tracking issue Fixes open-telemetry#10705 <!--Describe what testing was performed and which tests were added.--> #### Testing Tuned tests and added a sample processor component which only defines resource attributes. <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.--> Signed-off-by: ChrsMark <[email protected]>
The documentation pages were generated with https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/35701/files#diff-a118362df118f1449a78a69e67f50a87d9c86e3b3bbeadb5d01fb15129fd5cc7R1 🎉 . Filed #35737 as an attempt to adjust the processor's docs accordingly. |
…ce detector (open-telemetry#35737) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This PR fixes the issue described at open-telemetry#34210. Each detector's docs should list the resource attributes as they are defined by the `metadata.yml` files. This PR links each detector to its `documentation.md` as a reference for the respective Resource Atrributes. <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#34210 <!--Describe what testing was performed and which tests were added.--> #### Testing ~ <!--Describe the documentation added.--> #### Documentation Added <!--Please delete paragraphs that you did not use before submitting.--> Signed-off-by: ChrsMark <[email protected]>
…ce detector (open-telemetry#35737) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This PR fixes the issue described at open-telemetry#34210. Each detector's docs should list the resource attributes as they are defined by the `metadata.yml` files. This PR links each detector to its `documentation.md` as a reference for the respective Resource Atrributes. <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#34210 <!--Describe what testing was performed and which tests were added.--> #### Testing ~ <!--Describe the documentation added.--> #### Documentation Added <!--Please delete paragraphs that you did not use before submitting.--> Signed-off-by: ChrsMark <[email protected]>
…utes only (open-telemetry#11242) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This PR adds support for generating `documentation.md` files for components which only define resource attributes. This was reported at open-telemetry#10705 and also applies at open-telemetry/opentelemetry-collector-contrib#34210. <!-- Issue number if applicable --> #### Link to tracking issue Fixes open-telemetry#10705 <!--Describe what testing was performed and which tests were added.--> #### Testing Tuned tests and added a sample processor component which only defines resource attributes. <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.--> Signed-off-by: ChrsMark <[email protected]>
Component(s)
processor/resourcedetection
Describe the issue you're reporting
Based on the discussion at #34140, it would be nice and more straightforward to produce docs files for this processor based on the
metadata.yaml
files.We can follow what the hostmetricsreceiver does and from the main readme link to the various sub-components.
/cc @codeboten
The text was updated successfully, but these errors were encountered: