OpenCensus provides the implementation of interceptors for both the client side and server side to instrument the gRPC requests and responses. The client interceptors are used to create a decorated channel that intercepts client gRPC calls and server interceptors act as decorators over handlers.
gRPC interceptor is a new feature in the grpcio1.8.0 release, please upgrade your grpcio to the latest version to use this feature.
For sample usage, please refer to the hello world example in the examples directory.
More information about the gRPC interceptors please see the proposal.
Installation
pip install opencensus-ext-grpc
Usage
Please refer to the examples. For more information, read gRPC Python Interceptors.
References
Release files for opencensus-ext-grpc 0.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| opencensus-ext-grpc-0.7.2.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opencensus_ext_grpc-0.7.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 16.4 kB
Release files / opencensus-ext-grpc-0.7.2.tar.gz
| Download URL | opencensus-ext-grpc-0.7.2.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f22de8eb7c1bd5980afdfdc37982c4f9bafd93dd94427bd560f451f84b56379e
|
|
BLAKE2b-256 checksum How to use checksums |
f791c5501aaf821f0b6c9e88e5a045eacee89fe01f7b9ded770a55d7b529e03f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6
|
Release files / opencensus_ext_grpc-0.7.2-py2.py3-none-any.whl
| Download URL | opencensus_ext_grpc-0.7.2-py2.py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5549ccccabab43f0d23f019c4e99c2d95bccc37cd4ce88050280debe78152346
|
|
BLAKE2b-256 checksum How to use checksums |
d7c5c9fa26531b920a4a599d44517f6442abbf870b90ab01ffe2ac0d6bbb95da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6
|