-
Notifications
You must be signed in to change notification settings - Fork 698
Add SumObserver and UpDownSumObserver instruments #789
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
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
2001eeb
value observer
lzchen 4293398
lint
lzchen e65de5c
instrument
lzchen 38504d4
instrument
lzchen efd685e
batcher
lzchen e72f06a
InstrumentT
lzchen d0505d1
mypy
lzchen f2e4462
reorder metricrecord
lzchen 0d26ec6
fix tests
lzchen d99ce5f
Merge branch 'master' of https://github.com/open-telemetry/openteleme…
lzchen 68f980e
fix tests
lzchen bf17d2d
mypy
lzchen 6e34921
typing
lzchen 2ee2585
fix lint
lzchen 677515a
comment
lzchen 5061df9
sumobserver
lzchen b8f9eb0
Merge branch 'master' of https://github.com/open-telemetry/openteleme…
lzchen 9f10815
changelog
lzchen a18ee95
lint
lzchen edb310d
lint
lzchen 5c67c2a
lint
lzchen 3a468af
Merge branch 'master' into sumobs
lzchen ce33371
black
lzchen d3bf365
Merge branch 'master' of https://github.com/open-telemetry/openteleme…
lzchen 1378ad9
Merge branch 'sumobs' of https://github.com/lzchen/opentelemetry-pyth…
lzchen 6e3f645
Merge branch 'master' of https://github.com/open-telemetry/openteleme…
lzchen aa0007b
lint
lzchen f33e7e4
fix example
lzchen 541a11c
updownobserver
lzchen cca2422
Merge branch 'master' of https://github.com/open-telemetry/openteleme…
lzchen e9489c7
lint
lzchen f1a2767
address comments
lzchen 2384ed5
Merge branch 'master' of https://github.com/open-telemetry/openteleme…
lzchen 4b5c196
Merge branch 'master' of https://github.com/open-telemetry/openteleme…
lzchen 168c874
black
lzchen 5a37c0c
Update opentelemetry-api/CHANGELOG.md
lzchen 5463add
Update opentelemetry-sdk/CHANGELOG.md
lzchen 9de59a9
lint
lzchen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
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 you need to update the
ObserverT
TypeVar in this fileThere 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.
Currently we have
ObserverT = TypeVar("ObserverT", bound=Observer)
. I believe as long as the class used is a subclass of "Observer" this definition should be accurate?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.
Oh sorry you're right!