-
Notifications
You must be signed in to change notification settings - Fork 440
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
Add automatically semantic conventions from the spec (#873) #1497
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1497 +/- ##
==========================================
- Coverage 84.72% 84.71% -0.01%
==========================================
Files 156 155 -1
Lines 4784 4778 -6
==========================================
- Hits 4053 4047 -6
Misses 731 731
|
…etry#873) Apply clang-format
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
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 picking this, it was long pending item :)
It would be good to document this script execution somewhere. One of the options could be in RELEASING.md if we want to recommend generating semantic conventions before every release. Or anywhere is fine as long as it is documented.
…etry#873) Added documentation.
Do not merge yet. Pushing temporary debug code to investigate windows build failure. diff --git a/examples/http/server.cc b/examples/http/server.cc
|
…etry#873) Fixed markdown format. Added code to troubleshoot build failure.
Thanks @lalitb Added documentation. There is a very weird build break on windows, Trying to investigate that with CI, and might need some help (I don't have a windows os). |
…etry#873) Code cleanup for windows.
Resolved and ok to merge. On windows, some header file causes to define the symbol Implemented a work around, and CI on windows now passes. |
…etry#873) Removed #warning, not supported by the windows compiler.
…etry#873) Moved the windows work around to the template.
Revisited the windows work around for DELETE. Now that the root cause is well identified, and affects one platform only,
Also, the generate script now discloses which semantic convention is compiled, with:
This will make implementing work around for other issues, should that be necessary, easier. @ThomsonTan Thanks for finding the offending header. @lalitb Last item about the DELETE work around now resolved (in a better way, in the template) Ready to merge. |
Thanks @marcalff , @ThomsonTan . Merging it. |
Fixes #873
Changes
Generate automatically semantic conventions from the opentelemetry specs.
For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes