-
Notifications
You must be signed in to change notification settings - Fork 610
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
Adding Context API #395
Adding Context API #395
Commits on Feb 3, 2020
-
This change implements the Context API portion of OTEP open-telemetry#66. The CorrelationContext API and Propagation API changes will come in future PRs. We're leveraging entrypoints to support other implementations of the Context API if/when necessary. For backwards compatibility, this change uses aiocontextvars for Python versions older than 3.7. Signed-off-by: Alex Boten <aboten@lightstep.com>
Configuration menu - View commit details
-
Copy full SHA for 1500bec - Browse repository at this point
Copy the full SHA 1500becView commit details
Commits on Feb 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3bdf1c8 - Browse repository at this point
Copy the full SHA 3bdf1c8View commit details -
Merge remote-tracking branch 'origin/master' into adding-context-api
Alex Boten committedFeb 4, 2020 Configuration menu - View commit details
-
Copy full SHA for e144871 - Browse repository at this point
Copy the full SHA e144871View commit details -
adding support for python 3.4 via thread-local
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 4, 2020 Configuration menu - View commit details
-
Copy full SHA for 569878e - Browse repository at this point
Copy the full SHA 569878eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55c817a - Browse repository at this point
Copy the full SHA 55c817aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 746e591 - Browse repository at this point
Copy the full SHA 746e591View commit details -
Configuration menu - View commit details
-
Copy full SHA for b53bdea - Browse repository at this point
Copy the full SHA b53bdeaView commit details -
adding named tracer support back
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 4, 2020 Configuration menu - View commit details
-
Copy full SHA for 76a8c03 - Browse repository at this point
Copy the full SHA 76a8c03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fe5a23 - Browse repository at this point
Copy the full SHA 3fe5a23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f8d67f - Browse repository at this point
Copy the full SHA 1f8d67fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bdd27c - Browse repository at this point
Copy the full SHA 4bdd27cView commit details -
moving contextvars and threadlocal context to sdk
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 4, 2020 Configuration menu - View commit details
-
Copy full SHA for b28fb3f - Browse repository at this point
Copy the full SHA b28fb3fView commit details
Commits on Feb 5, 2020
-
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 5, 2020 Configuration menu - View commit details
-
Copy full SHA for 51af769 - Browse repository at this point
Copy the full SHA 51af769View commit details -
Configuration menu - View commit details
-
Copy full SHA for 530c21a - Browse repository at this point
Copy the full SHA 530c21aView commit details -
replace get_value w/ context.get_value
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 5, 2020 Configuration menu - View commit details
-
Copy full SHA for 16eb703 - Browse repository at this point
Copy the full SHA 16eb703View commit details -
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 5, 2020 Configuration menu - View commit details
-
Copy full SHA for ddd81a5 - Browse repository at this point
Copy the full SHA ddd81a5View commit details -
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 5, 2020 Configuration menu - View commit details
-
Copy full SHA for b935bf5 - Browse repository at this point
Copy the full SHA b935bf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15805a4 - Browse repository at this point
Copy the full SHA 15805a4View commit details -
don't bother constructing a map for entry_points
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 5, 2020 Configuration menu - View commit details
-
Copy full SHA for 68b98e5 - Browse repository at this point
Copy the full SHA 68b98e5View commit details -
cleaning up more code, adding some context tests
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 5, 2020 Configuration menu - View commit details
-
Copy full SHA for 3a2b0ef - Browse repository at this point
Copy the full SHA 3a2b0efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62c76ec - Browse repository at this point
Copy the full SHA 62c76ecView commit details -
Fix ThreadlocalContext, use ContextVarsContext for tests with python …
…> 3.4 Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 5, 2020 Configuration menu - View commit details
-
Copy full SHA for 5dca7cc - Browse repository at this point
Copy the full SHA 5dca7ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7203e72 - Browse repository at this point
Copy the full SHA 7203e72View commit details -
as per review feedback, removing use
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 5, 2020 Configuration menu - View commit details
-
Copy full SHA for e43f168 - Browse repository at this point
Copy the full SHA e43f168View commit details -
adding tests for sdk threadlocal and contextvar contexts
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 5, 2020 Configuration menu - View commit details
-
Copy full SHA for f81a673 - Browse repository at this point
Copy the full SHA f81a673View commit details
Commits on Feb 6, 2020
-
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 6, 2020 Configuration menu - View commit details
-
Copy full SHA for ba65845 - Browse repository at this point
Copy the full SHA ba65845View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed187bf - Browse repository at this point
Copy the full SHA ed187bfView commit details -
adding tests for threads and asyncio
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 6, 2020 Configuration menu - View commit details
-
Copy full SHA for 2b8c69f - Browse repository at this point
Copy the full SHA 2b8c69fView commit details -
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 6, 2020 Configuration menu - View commit details
-
Copy full SHA for 1a0217f - Browse repository at this point
Copy the full SHA 1a0217fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 212b14b - Browse repository at this point
Copy the full SHA 212b14bView commit details -
Configuration menu - View commit details
-
Copy full SHA for dbfeb98 - Browse repository at this point
Copy the full SHA dbfeb98View commit details -
fix threadlocal behaviour, more feedback changes
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 6, 2020 Configuration menu - View commit details
-
Copy full SHA for 2235bc3 - Browse repository at this point
Copy the full SHA 2235bc3View commit details
Commits on Feb 7, 2020
-
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 7, 2020 Configuration menu - View commit details
-
Copy full SHA for 5dc9fd5 - Browse repository at this point
Copy the full SHA 5dc9fd5View commit details -
simplifying code, removing unnecessary methods
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 7, 2020 Configuration menu - View commit details
-
Copy full SHA for 02c7c4c - Browse repository at this point
Copy the full SHA 02c7c4cView commit details -
Alex Boten committed
Feb 7, 2020 Configuration menu - View commit details
-
Copy full SHA for ae2cbc4 - Browse repository at this point
Copy the full SHA ae2cbc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f99621 - Browse repository at this point
Copy the full SHA 6f99621View commit details
Commits on Feb 8, 2020
-
Splitting the Context interface
This interface was really attempting to do two things: - acting as an immutable Context object as per the otep - providing an interface on top of threadlocal/contextvars As part of this change: - RuntimeContext is the interface on top of threadlocal/contextvars - Context is now an immutable class Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 8, 2020 Configuration menu - View commit details
-
Copy full SHA for 01e0054 - Browse repository at this point
Copy the full SHA 01e0054View commit details
Commits on Feb 10, 2020
-
update RuntimeContext when setting current
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 10, 2020 Configuration menu - View commit details
-
Copy full SHA for ebcf0bd - Browse repository at this point
Copy the full SHA ebcf0bdView commit details -
Merge remote-tracking branch 'origin/master' into adding-context-api
Alex Boten committedFeb 10, 2020 Configuration menu - View commit details
-
Copy full SHA for ddf3c8d - Browse repository at this point
Copy the full SHA ddf3c8dView commit details -
add set_current/get_current on RuntimeContext to store current Contex…
…t in correct scope Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 10, 2020 Configuration menu - View commit details
-
Copy full SHA for 6f9780b - Browse repository at this point
Copy the full SHA 6f9780bView commit details
Commits on Feb 11, 2020
-
cleaning up mypy and fixing 3.4 tests
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 49b6abd - Browse repository at this point
Copy the full SHA 49b6abdView commit details -
cleaning up tests to use context api interface
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 4c5083a - Browse repository at this point
Copy the full SHA 4c5083aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a8a9fb - Browse repository at this point
Copy the full SHA 5a8a9fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5da10c - Browse repository at this point
Copy the full SHA d5da10cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7995ac3 - Browse repository at this point
Copy the full SHA 7995ac3View commit details -
Merge remote-tracking branch 'origin/master' into adding-context-api
Alex Boten committedFeb 11, 2020 Configuration menu - View commit details
-
Copy full SHA for dbbdefb - Browse repository at this point
Copy the full SHA dbbdefbView commit details -
return the old context when calling set_current to allow for restore
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 37f1555 - Browse repository at this point
Copy the full SHA 37f1555View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81f06a9 - Browse repository at this point
Copy the full SHA 81f06a9View commit details -
removing snapshot from runtime context
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 11, 2020 Configuration menu - View commit details
-
Copy full SHA for f29111a - Browse repository at this point
Copy the full SHA f29111aView commit details -
Merge remote-tracking branch 'origin/master' into adding-context-api
Alex Boten committedFeb 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 057c22c - Browse repository at this point
Copy the full SHA 057c22cView commit details -
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 5376e60 - Browse repository at this point
Copy the full SHA 5376e60View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7d0286 - Browse repository at this point
Copy the full SHA e7d0286View commit details -
further sinmplifying RuntimeContext
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 0cee462 - Browse repository at this point
Copy the full SHA 0cee462View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8032c1 - Browse repository at this point
Copy the full SHA f8032c1View commit details
Commits on Feb 12, 2020
-
Update opentelemetry-api/src/opentelemetry/context/__init__.py
Co-Authored-By: Mauricio Vásquez <mauricio@kinvolk.io>
Configuration menu - View commit details
-
Copy full SHA for 02b8f71 - Browse repository at this point
Copy the full SHA 02b8f71View commit details -
adding test, updating copyright on new files
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 12, 2020 Configuration menu - View commit details
-
Copy full SHA for 727ae50 - Browse repository at this point
Copy the full SHA 727ae50View commit details -
Merge branch 'adding-context-api' of github.com:codeboten/opentelemet…
…ry-python into adding-context-api
Alex Boten committedFeb 12, 2020 Configuration menu - View commit details
-
Copy full SHA for c9c66f3 - Browse repository at this point
Copy the full SHA c9c66f3View commit details -
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 12, 2020 Configuration menu - View commit details
-
Copy full SHA for f25992f - Browse repository at this point
Copy the full SHA f25992fView commit details -
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 12, 2020 Configuration menu - View commit details
-
Copy full SHA for 91d2ebc - Browse repository at this point
Copy the full SHA 91d2ebcView commit details
Commits on Feb 13, 2020
-
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedFeb 13, 2020 Configuration menu - View commit details
-
Copy full SHA for 335678e - Browse repository at this point
Copy the full SHA 335678eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 619fc1b - Browse repository at this point
Copy the full SHA 619fc1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f9bd76 - Browse repository at this point
Copy the full SHA 1f9bd76View commit details