-
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
fix: issue 368- consistent namespace scope resolution #1008
fix: issue 368- consistent namespace scope resolution #1008
Conversation
…b.com:open-o11y/opentelemetry-cpp into fix_368_consistent_namespace_scope_resolution
Codecov Report
@@ Coverage Diff @@
## main #1008 +/- ##
=======================================
Coverage 94.41% 94.41%
=======================================
Files 158 158
Lines 6077 6077
=======================================
Hits 5737 5737
Misses 340 340
|
Thank you for the PR. I can see it had to go through lots of iteration to make the build work. Changes look good in general, couple of minor comments:
If we are using
|
@PaurushGarg - Just wondering if you have gone through the earlier comments and any suggestions on it. |
@PaurushGarg let us know if you will get a chance to review all the comments and resolve the conflict, or need our help on it. |
…ce aliases in header files
…ce aliases in header files
@lalitb Sorry it took some time. I have updated both the comments regarding |
@ThomsonTan Sorry it took some time. I have updated both the comments regarding trace_sdk and metric_sdk, and also updated the header files to removes the namespace aliases. |
@lalitb do you have any other comments? |
No, it looks good now. Thanks, @PaurushGarg for your efforts. |
Fixes Issue (368)
In .cc files across whole project, opentelemetry::* is simplified to * , to follow the namespace guidelines. To do this, following
namespace aliases were used, to establish convention:
Note: trace and trace_api both are used for opentelemetry::trace;
trace_sdk and sdktrace both are used for opentelemetry::sdk::trace; These were already existing in the code.
Tracking Issue #368
Please provide a brief description of the changes here.
Usage of scope resolution was made consistent across all files using namespace convention and guidelines.