Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Implement "named" meters + Remove "Batcher" from Meter constructor #431
Implement "named" meters + Remove "Batcher" from Meter constructor #431
Changes from 23 commits
bba1fea
712ccd3
b50c269
fd3d175
08b1117
c92f837
7b8b67d
63824f3
16e728b
7733a87
b436c62
d6c97f0
a2f2e0f
32cf2c1
ec9c673
7ebd438
27d75ba
08095b6
6a743c7
e226eda
c7432ef
60b2f38
bd53f84
6f6a37d
4770ec4
0f36b31
4f4632b
e591a39
0878f5d
584d996
f854923
4df2553
40ee67b
0b93285
3735d88
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
This file was deleted.
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.
Should this variable be deleted, or just set to None? It's a lot easier to see if a variable is None that go to locals() and check if the _METER_SOURCE_FACTORY key is in there as a guard condition to check on the _METER_SOURCE_FACTORY.
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.
I don't have a strong opinion on this. I'm taking what is being done in the tracing API to be consistent.
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.
+1 on setting it to None, stays consistent with the
_TRACER_PROVIDER_FACTORY
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.
I think
_TRACER_PROVIDER_FACTORY
isdel
as well.https://github.com/open-telemetry/opentelemetry-python/blob/master/opentelemetry-api/src/opentelemetry/trace/__init__.py#L687
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.
my bad, i missed that.