-
Notifications
You must be signed in to change notification settings - Fork 483
[DOC] Update doc comments to pass -WDocumention check #3375
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
Conversation
✅ Deploy Preview for opentelemetry-cpp-api-docs canceled.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3375 +/- ##
==========================================
+ Coverage 89.88% 89.89% +0.02%
==========================================
Files 212 212
Lines 6942 6942
==========================================
+ Hits 6239 6240 +1
+ Misses 703 702 -1
🚀 New features to boost your workflow:
|
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 the PR!
Left some comments.
exporters/memory/include/opentelemetry/exporters/memory/in_memory_span_exporter.h
Outdated
Show resolved
Hide resolved
@@ -265,7 +257,7 @@ class HttpOperation | |||
* Perform curl message, this function only can be called in the polling thread and it can only | |||
* be called when got a CURLMSG_DONE. | |||
* | |||
* @param code | |||
* @param code CURLcode |
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.
This looks incomplete ?
If the current format does break |
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 the cleanup.
See preliminary comments on generated code.
api/include/opentelemetry/semconv/incubating/process_attributes.h
Outdated
Show resolved
Hide resolved
Related: |
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 the cleanup PR.
Please remove all changes done on generated code for semantic conventions.
If there are unresolved doxygen issues, this is fine, the CI will need to wait longer before enforcing -Wdocumentation
in maintainer mode.
Cleanup work (speaking from experience with warning cleanup, include-what-you-use, ...) is typically done incrementally, so the fixes available here should be merged now, without waiting for the entire build to be fixed.
Thanks for suggestions, kind of busy these days :(. |
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, thanks for the fix.
See minor cleanup.
exporters/memory/include/opentelemetry/exporters/memory/in_memory_span_exporter.h
Outdated
Show resolved
Hide resolved
…ory_span_exporter.h Co-authored-by: Marc Alff <[email protected]>
Co-authored-by: Marc Alff <[email protected]>
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 addressing the comments!
Overall it looks good, just a few minor nits remaining.
* @param callback a callback to invoke for each key-value. If the callback returns false, | ||
* the iteration is aborted. | ||
* @return true if every key-value pair was iterated over | ||
* No-op implementation: does not invoke the callback, even if key-value pairs are present. |
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.
Nit: Technically, the @param
should still be there.
[DOC] Update doc comments to pass -WDocumention check (open-telemetry#3375)
Fixes #3370
Changes
-Werror -Wdocumentation
This reduces the number of documentation warnings.
Enforcement in CI to be implemented separately.