Skip to main content

OpenCensus gRPC Integration

Project description

pypi

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

from opencensus.trace import config_integration

config_integration.trace_integrations(['grpc'])

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

opencensus_ext_grpc-0.3.0-py2.py3-none-any.whl (8.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file opencensus_ext_grpc-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: opencensus_ext_grpc-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for opencensus_ext_grpc-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 26fc76f07eca33111a0f3441542de845b55b6f470e3a65dd3e234c660a57b679
MD5 b8e8b1e2ac7b93c162b315c64f1a1fcd
BLAKE2b-256 9331f59f60d641b212aa0944085442309082c899bd3b64874274fea3f22063b2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page