OpenCensus gRPC Integration
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file opencensus-ext-grpc-0.7.2.tar.gz
.
File metadata
- Download URL: opencensus-ext-grpc-0.7.2.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f22de8eb7c1bd5980afdfdc37982c4f9bafd93dd94427bd560f451f84b56379e |
|
MD5 | e8de50bb3a26503207a761bfbaa3dd59 |
|
BLAKE2b-256 | f791c5501aaf821f0b6c9e88e5a045eacee89fe01f7b9ded770a55d7b529e03f |
Provenance
File details
Details for the file opencensus_ext_grpc-0.7.2-py2.py3-none-any.whl
.
File metadata
- Download URL: opencensus_ext_grpc-0.7.2-py2.py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5549ccccabab43f0d23f019c4e99c2d95bccc37cd4ce88050280debe78152346 |
|
MD5 | d136512a39f0a1c90a0c4284fe90065c |
|
BLAKE2b-256 | d7c5c9fa26531b920a4a599d44517f6442abbf870b90ab01ffe2ac0d6bbb95da |