-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Add decorator #6299
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
Add decorator #6299
Changes from 1 commit
Commits
Show all changes
97 commits
Select commit
Hold shift + click to select a range
657c34e
add opencensus impl
SuyogSoti 8573e23
dont need to check for noop tracer
SuyogSoti 989c4dc
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-pytho…
SuyogSoti 3f64325
get rid of span and trace id
SuyogSoti 0b04d80
fix span instance
SuyogSoti 9f4e507
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-pytho…
SuyogSoti 7b728d8
added documentation
SuyogSoti bfd355c
added documentation and refactor names of a few variables
SuyogSoti cd06c97
write test for opencensus wrapper
SuyogSoti a9f7a6f
put opencensus in the dev requirements
SuyogSoti b8f63df
initial common
SuyogSoti 408c5ad
only import the wrapper when necessary
SuyogSoti 9baf366
add check for the exporter
SuyogSoti f4c52fd
rework logic and fix some settings
SuyogSoti d439df9
added initial decorator
SuyogSoti f256d62
some mroe documentation
SuyogSoti 9067279
added decorators
SuyogSoti eee5e09
small change
SuyogSoti 6050bd7
some minor fixes
SuyogSoti c9faa4b
test patch happening
SuyogSoti 6d35557
fix space
SuyogSoti 0f6c1f7
share a function
SuyogSoti 2bfffe5
clearer logic for setting span context
SuyogSoti c1f6d69
better logic
SuyogSoti 18890ea
better logic
SuyogSoti 6a4a545
fix environ variable
SuyogSoti e7b5707
test the way opencensus does it
SuyogSoti aaf2152
middle of tests
SuyogSoti 7ccf041
only load if opencensus has already been imported
SuyogSoti 6a01918
fix spelling mistake
SuyogSoti 36572c5
temp
SuyogSoti d9a2d95
Merge branch 'opencensus_impl' into temp
SuyogSoti 280173f
finish writing tests for common
SuyogSoti b3f44fb
charles fixes
SuyogSoti 9cb1bd9
Merge branch 'opencensus_impl' into temp
SuyogSoti 77e0ccf
fix tests
SuyogSoti 1e9c7dc
fix test settings
SuyogSoti d72248e
to header should not take a dict
SuyogSoti 135d1c0
from header should be class method
SuyogSoti 56e8269
Merge branch 'opencensus_impl' into temp
SuyogSoti 73203c2
initial tests
SuyogSoti e304d40
dont create trace and get rid of end_tracer
SuyogSoti ff5627d
dont need to save the trace
SuyogSoti 1e4b03a
more little fixes
SuyogSoti d55bca1
Merge branch 'opencensus_impl' into temp
SuyogSoti 72e0dd4
some intermediatary changes
SuyogSoti aa5b671
fix type annotations
SuyogSoti 0ce1a22
rst fix types
SuyogSoti b9c7d72
add :class:annotations
SuyogSoti 57b2a57
fix line wrapping
SuyogSoti 9b6260e
Merge branch 'opencensus_impl' into temp
SuyogSoti 8b1ed8f
added tests for decorator
SuyogSoti c041818
rename opencensus wrapper
SuyogSoti 8da57ec
Merge branch 'opencensus_impl' into overall
SuyogSoti 56d2e7d
intermediate changes
SuyogSoti de6f552
use spans the right way
SuyogSoti 691eb3d
some formatting
SuyogSoti 6a1f733
Merge branch 'opencensus_impl' into overall
SuyogSoti 20d5afe
some grammar
SuyogSoti c55c901
Merge branch 'opencensus_impl' into overall
SuyogSoti 3e80b1e
restructure settings and make tests pass
SuyogSoti 3f9f4ae
rename get_parent
SuyogSoti 412bf7a
fix typings
SuyogSoti 3c6ab1c
use protocol and from_headers becomes links
SuyogSoti de8b5f4
Merge branch 'opencensus_impl' into overall
SuyogSoti de41353
ramifications of opencensus wrapper being a protocol
SuyogSoti db2f865
add tests for link
SuyogSoti 7c637e6
Merge branch 'opencensus_impl' into overall
SuyogSoti 27c9876
added async tests
SuyogSoti ac9ff09
delete the unit test thing
SuyogSoti f0ba4ee
fix merge conflict
SuyogSoti ff07c55
added add_attribute
SuyogSoti 30fd165
added add_attribute
SuyogSoti 644fe2a
added tests for add attributes
SuyogSoti fc6a284
Merge branch 'opencensus_impl' into add_decorator
SuyogSoti 8f137c1
remove unused import
SuyogSoti 8e8aa21
Merge branch 'master' into add_decorator
SuyogSoti a373e40
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-pytho…
SuyogSoti 0c37b38
added docstrings
SuyogSoti b925782
minor docstring formatting
SuyogSoti 4dd6ba9
fix pylint errors
SuyogSoti fae494a
don't rely on opencensus children to check
SuyogSoti e484bcf
use exporter to not rely on parent.children
SuyogSoti 76c75bc
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-pytho…
SuyogSoti 9d0159c
test should only propagate
SuyogSoti aa14218
made test tracing helper
SuyogSoti bc35a5f
decrease flakiness of test
SuyogSoti 85e5e48
simplify get parent
SuyogSoti 91d1d25
calling a decorator decorator is redundant
SuyogSoti 603d4f6
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-pytho…
SuyogSoti 056bc2e
fix settings
SuyogSoti 720c44e
more elegant code
SuyogSoti f503b6e
add await for async
SuyogSoti 6743bd1
should only have to wait a 1/1000 of a second
SuyogSoti c070b77
fix tests spans too short
SuyogSoti df7f09e
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-pytho…
SuyogSoti d106a16
accidentally deleted setup.cfg
SuyogSoti 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
simplify get parent
- Loading branch information
commit 85e5e48ed33d269f3403cdc1d9d0325efef43bae
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
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.
Uh oh!
There was an error while loading. Please reload this page.